• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Decimal result.....

Decimal result..... 12 years 5 months ago #15581

hi guys,
I have only question!

but because if I write the number with decimal in the example:

example

The result is not correct???

add the decimal number example:
50.23 + 51.85 = 101???? WHY?



Please, help me!!!
The administrator has disabled public write access.

Re: Decimal result..... 12 years 5 months ago #15592

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

If you take a look a look at the actual code that performs the calculation you will notice that this is designed to work with integer numbers not floats.

You will have to edit the script (available in the CSS/Javascript tab, Javascript area) and replace "parseInt" with "parseFloat".
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
The following user(s) said Thank You: pagamentigeo
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!