R2SW
- Parameters
-
r real
The number to be converted
width integer
The width of the string. If the width of the resulting conversion is too small the string will be filled with spaces. Use 0 for no padding.
precision integer
The amount of decimal places.
- comment
Formats the real r into a string with supplied precision and width.
- pure
- This function is pure. For the same values passed to it, it will always return the same value.
- return type
string
- Source code
native R2SW takes real r, integer width, integer precision returns string
- Source
- string.j
- wc3modding.com
- R2SW