rounds a floating-point number to n significant digits - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : MapleTA Package : Builtin : MapleTA/Builtin/sig

MapleTA[Builtin][sig] - rounds a floating-point number to n significant digits

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)

See Also

Digits, evalf, MapleTA, MapleTA,Builtin,decimal, MapleTA,Builtin,int, MapleTA,Builtin,numfmt


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam