Difference between revisions of "MC-Basic:SYSTEM.DOUBLEFORMAT"

From SoftMC-Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{Languages|MC-Basic:SYSTEM.DOUBLEFORMAT}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Revision as of 02:32, 2 May 2017

Language: English  • 中文(简体)‎

Set the  printing format  of double-type numbers.

1 – print  in Floating point format  (  132.555 )

0 - print  in Exponential format         ( 1.325550000000000e+02 )

Syntax

Sys.DoubleFormat = <number>

Availability

All versions

Type

<number>: Long

Range

<number>: 0, 1

Default

0

Scope

Configuration, Terminal

Examples

Sys.DoubleFormat = 1

? Sys.DoubleFormat

1

See Also