DisplayNumber

DisplayNumber (int input, string format)

New in Quest 5.7

Returns a string, the given number formatted. The format should consist of:

Note that the input number will be made positive, and then divided by 10 to the power of the second number (see Decimalise).

DisplayNumber(1234, "+1.1")
  -> "+123.4"
DisplayNumber(1234, "3.2")
   -> "012.34"
DisplayNumber(1234, "(1.1)")
 -> "(123.4)"
DisplayNumber(1234, "(3,3)")
 -> "(001,234)"