mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Values to convert from ft to m ma also be decimal numbers
This commit is contained in:
parent
2a4afa042c
commit
4b3327fcb1
@ -42,7 +42,7 @@ static QString capitalized(const QString &str)
|
||||
static QByteArray ft2m(const QByteArray &str)
|
||||
{
|
||||
bool ok;
|
||||
int number = str.toInt(&ok);
|
||||
double number = str.toDouble(&ok);
|
||||
return ok ? QByteArray::number(qRound(number * 0.3048)) : str;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user