TLO:Float

From the wonderful RedGuides Wiki

Creates a float object from n

This TLO is added by MacroQuest

Forms

Type Member Description
float Float[n]

Access to Types

Type Description
float Contains all information related to floating point numbers
  • A floating-point number is one which has a decimal component (e.g. 3.14)
  • Members of this DataType generally manipulate the number's precision (i.e. how many decimal places)
  • They all round correctly with the exception of int

Examples

  • Creates a float object of 12.345 and truncates the decimal to one decimal place.

/echo ${Float[12.345].Deci}

See also