FutureProg functions

textfrommass

Built-In · computer function, computer program, standard futureprog

Text textfrommass(Number amount)
Contexts: 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.
amount: The amount to use. Text amounts are parsed using the target system's normal builder/player parsing rules.

← Back to FutureProg functions