#include <OgreLwString.h>
|
| | Double (double value, int precision=-1, int minWidth=-1) |
| |
◆ Double()
| Ogre::LwString::Double::Double |
( |
double | value, |
|
|
int | precision = -1, |
|
|
int | minWidth = -1 ) |
|
inline |
- Parameters
-
| value | float value to convert. |
| precision | Controls truncation/rounding. Example: value = 1.56 precision = 1 prints "1.6" |
| minWidth | Controls the minimum width of the decimals. Example: value = 1.5 minWidth = 2 prints "1.50" |
References mMinWidth, mPrecision, and mValue.
◆ mMinWidth
| int Ogre::LwString::Double::mMinWidth |
◆ mPrecision
| int Ogre::LwString::Double::mPrecision |
◆ mValue
| double Ogre::LwString::Double::mValue |
The documentation for this struct was generated from the following file: