numfmt - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

MapleTA[Builtin]

  

numfmt

  

format a number according to a template

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

numfmt(format, number)

Parameters

format

-

string

number

-

numeric

Description

• 

The numfmt command uses a format template to specify how many digits after the decimal point to display among other things. The given number is matched against the template and a formatted string is returned.

• 

This command has the same specification as the built-in Java command, java.text.DecimalFormat.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

Compatibility

• 

The MapleTA[Builtin][numfmt] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

MapleTA

 


Download Help Document