Forum PayVault Floating point in PayVault

Discussion and help relating to the PlayerIO payment solution, PayVault.

Floating point in PayVault

Postby dushyantK » August 6th, 2019, 8:49 am


Is it possible to store and perform operations in floating point for PayVault? Our game requires the currency to be stored in decimals and having this inbuilt would save a whole lot of calculations and reduce potential errors.
Posts: 1
Joined: June 1st, 2019, 10:26 am

Re: Floating point in PayVault

Postby robscherer123 » August 7th, 2019, 3:03 pm

I don't believe it does. You'll have to use whole numbers, or just give the players more coins and divide it by some amount to simulate the decimal point.
Paid Member
Posts: 310
Joined: December 12th, 2012, 8:46 pm

Return to PayVault