Decimal floating point number to binary: Difference between revisions

Line 661:
\\ using . for 1033 locale
Print Str$(Conv2Dec(Conv2Any$(12312321.1212, 2), 2), 1033)="12312321.1211853"
Print Str$(Conv2Dec(Conv2Any$(12312321.1212, 2,,52), 2), 1033) ="12312321.1212"
}
Checkit
Line 671 ⟶ 672:
12312321.1212
101110111101111100000001.0001111100000110
True
True
</pre>
Anonymous user