Open extra topbar

Fiat Coin

If you are new here, please see some information on how to ask for support. Thank you!

Fiat Coin

Tagged: ,

This topic contains 7 replies, has 2 voices, and was last updated by  alexg 7 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4515

    San
    Participant

    Alex a small request, to update digits after decimal for Fiat Coin, at present it shows 8 digits after decimal which should be 2 digits only for Fiat Coin

    thanks

    #4539

    alexg
    Keymaster

    Hello San,

    Which display are you talking about? The sprintf pattern for fiat coins is already %01.2f.

    Are you referring to the exchange? If so, the exchange uses 10 decimals in all calculations and 8 decimals in all displays. Otherwise, I’ve made sure to display fiat amounts in 2 digits elsewhere.

    kind regards

    #4563

    San
    Participant

    Hi @alexg

    it shows 8 digits after decimal…

    may be it’s cause of my own UI… guide me to fix it.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #4570

    alexg
    Keymaster

    I do not understand which UI this is, perhaps due to your CSS.

    Which shortcode did you use to display this?

    #4572

    San
    Participant

    I am using the default [wallets_balance]

    or may be suggest to fix fiat with javascript?

    #4580

    alexg
    Keymaster

    I will fix it with the upcoming release of the coin adapter.

    Thank you for reporting this.

    #4587

    San
    Participant

    Thanks Alex

    #4879

    alexg
    Keymaster

    With the latest version 0.2.0-beta of the Fiat coin adapter, the fiat amounts are now shown with two decimals.

    Thank you

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.