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

Online Help

All Products    Maple    MapleSim


MapleTA[Builtin]

  

sig

  

rounds a floating-point number to n significant digits

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

sig(n, x)

Parameters

n

-

integer

x

-

numeric

Description

• 

The sig command returns x expressed as a floating-point number rounded to n significant digits.

Examples

MapleTA:-Builtin:-sig3,20.8571

20.9

(1)

Compatibility

• 

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

• 

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

See Also

Digits

evalf

MapleTA

MapleTA,Builtin,decimal

MapleTA,Builtin,int

MapleTA,Builtin,numfmt