Skip to content

lib.string.FloatToString

Thomas Mann edited this page Jan 14, 2024 · 5 revisions

FloatToString

in lib.string


Converts a float value into a string.

You can use the .net string format descriptor various effects, like...

Here are some examples for for the value 1.2345

{0:P1} → 123.45% {0:000.000} → 001.234 {0:0} → 1 {0:G3} → 1.23 need {0:1.2} cookies → need 1.2 cookies


Outputs

Name Type
Output System.String

Parameters

Name Type Relevancy
Value System.Single
Format System.String

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally