Skip to content

FloatToString

in Lib.string.convert

Converts a float value into a string.

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

Here are some examples 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

Input Parameters

Name (Relevancy & Type) Description
Value (Single)
Format (String)

Outputs

Name Type
Output System.String