• Resolved mlis

    (@mlis)


    Hi there,
    for one of the zones i have set exchange rate to : 0.98373983739837, but i would need it to be set to 0.983739837398374 (it’s impossible to save) – because only then have enough price calculation.
    Could you help me with that?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi,

    We handle the exchange rate as a float number: From PHP doc:

    The size of a float is platform-dependent, although a maximum of approximately 1.8e308 with a precision of roughly 14 decimal digits is a common value (the 64 bit IEEE format).

    https://www.php.net/manual/en/language.types.float.php

    Plugin Author Oscar Gare

    (@oscargare)

    The number of decimals digits that the exchange rate can use depends on the PHP installation. In general, the maximum number of decimals digits is 14. So 0.983739837398374 (15 decimals digits) will be round by PHP to 0.98373983739837 (14 decimal digits)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Input field Exchange Rate – not enough digits’ is closed to new replies.