function FloatToString (float fFloat, int nWidth=18, int nDecimals=9) Convert fFloat into a string. (see also FTOS)
* nWidth: should be a value from 0 to 18 inclusive.
* nDecimals: should be a value from 0 to 9 inclusive.
* Return type: string
* Include file: nwscriptdefn
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - function FloatToString (float fFloat, int nWidth=18, int nDecimals=9) Convert fFloat into a string. (see also FTOS)
* nWidth: should be a value from 0 to 18 inclusive.
* nDecimals: should be a value from 0 to 9 inclusive.
* Return type: string
* Include file: nwscriptdefn
- The FloatToString() NWScript command converts a float to a string, with the ability to set the width and precision of the resulting string.
|
param3desc
| - The number of digits to the right of the decimal point that will be produced. Should be from 0 to 9 .
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| - float fFloat
- int nDecimals
- int nWidth
|
param2default
| |
param2desc
| - The number of characters to the left of the decimal point that will be produced. Should be from 0 to 18 .
|
param1desc
| - The floating point number that will be converted to a string representation.
|
param3default
| |
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - function FloatToString (float fFloat, int nWidth=18, int nDecimals=9) Convert fFloat into a string. (see also FTOS)
* nWidth: should be a value from 0 to 18 inclusive.
* nDecimals: should be a value from 0 to 9 inclusive.
* Return type: string
* Include file: nwscriptdefn
- The FloatToString() NWScript command converts a float to a string, with the ability to set the width and precision of the resulting string.
|