$PI All amounts in smart contracts must be expressed in the smallest integer units; decimals are not supported to avoid precision loss.



From the smart contract code published on the Pi network, we can see that 1 Pi = 10,000,000 smallest units (7 decimal places).

In subscription contracts (or any Pi chain contracts), fee parameters such as price and amount must be entered as integers using Pi's smallest unit (10^7 = 1 Pi).

Example: 1 Pi is written as 10,000,000; 0.5 Pi is written as 5,000,000. All subscription, payment, and other fee parameters must follow this rule.

The smallest unit is 10,000,000 = 1 Pi, equivalent to 7 decimal places. 0.0000001 Pi will have a certain value; this means Pi is designed as an extremely powerful currency.
PI-7.19%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 1
  • Repost
  • Share
Comment
Add a comment
Add a comment
GreatBoundlessHeavenlyLord
· 2h ago
The explanation is that the price is around 0.00000001.
View OriginalReply0
  • Pin