0
♥float = ⟦float⟧1.00000000000000000000000000006
♥money = ⟦money⟧1.00000000000000000000000000006
program notepad
dialog ♥float
dialog ♥money

I am getting text as "1" in dialoge box for both the variables.

Wiktoria Prusik
  • 840
  • 4
  • 15

1 Answers1

0

Range for float and money types are limited in the G1ANT language I believe. C# float itself has a limited range of 6 - 9 digits (C# Documentation Here). I changed the values to a shorter one and it works. Screenshots below: Floating point value Dialog Box

Money value dialog box

VIGNESH N
  • 208
  • 1
  • 7
  • 1
    Float structure in G1ANT is a C# double type so you can have 15 decimal places. Money structure is a C# decimal and you should have up to 29 decimal places but there is a bug which will be fixed soon. – Wiktoria Prusik Oct 08 '19 at 10:29
  • Works fine in a latest G1ANT.Studio, except that Money (and backing it up decimal type) type holds up to 28 digits, not 29. – Łukasƨ Fronczyk Feb 24 '20 at 12:15