~/forever/addon-api/function/C_StringUtil.TruncateWhenZero
C_StringUtil.TruncateWhenZero
documented function · StringUtil
C_StringUtil.TruncateWhenZero(number) : textFormats the given number to a string as an integer (rounding down). If the integer is zero, returns an empty string.
──ARGUMENTS
- number
- number
──RETURNS
- text
- string
──DETAILS
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.