FutureProg functions

textfrommass

Built-Incomputer function, computer program, standard futureprog

textfrommass overload 1

Text textfrommass(Number amount)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats a base-unit mass value as player-facing text using the unit manager. This is the inverse of massfromtext for builder scripts that need readable units.
ParameterTypeDescription
amount Number The amount to use. Text amounts are parsed using the target system's normal builder/player parsing rules.