Function: niz

Syntax

niz(<num>{,<int>})

Type

string

Returns

A integer numeric value as a string with leading zeros.

Parameters

Examples

Output a number with significance 5.

numeric n = 999
string s5 = niz(n,5)
# This will produce 00999

See Also

Functions:

fmt (string), ns (string)