source:
projectionDesigner/trunk/projdesigner/src/gui/Defines.cpp
@
431
Last change on this file since 431 was 4, checked in by , 15 years ago | |
---|---|
File size: 235 bytes |
Rev | Line | |
---|---|---|
[4] | 1 | #include "gui/Defines.h" |
2 | ||
3 | using namespace projection; | |
4 | ||
5 | QString projection::formatValue(double value) | |
6 | { | |
7 | return QString::number(value, 'f', 4); | |
8 | } | |
9 | ||
10 | double projection::formatValue(const QString& value) | |
11 | { | |
12 | return value.toDouble(); | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.