MC-Basic:SYSTEM.DOUBLEFORMAT

From SoftMC-Wiki
Revision as of 13:31, 6 January 2021 by Miborich (talk | contribs)
Jump to: navigation, search
Language: English  • 中文(简体)‎

Set the  printing format  of double-type numbers.

3 - print  in Floating point number        ( 1.325550 )

2 - print  in Floating point format with 6 decimals        ( 1.325550 )

1 – print  in Floating or Exponential (best fit) 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 = 0 --> ?1.001 1.001000000000000e+00 --> sys.doubleformat = 1 --> ?1.001 1.001 --> sys.doubleformat = 2 --> ?1.001 1.001000 --> sys.doubleformat = 3 --> ?1.001 1.001000 -->

See Also