Skip to content

It is miscalculating the data from MySQL. #407

@sudis

Description

@sudis

Hi, it is incorrectly reflecting the currency information retrieved from MySQL.

resim

As you can see above, mitcoin is 13.16.

resim

But when we go into operation, it shows as if there are a few more digits.

Heres my function to converting.

    convertMoney: function(money) {
        return currency(money, { symbol: "€", separator: ".", decimal: "," }).format();
    },
    convertChip: function(chip) {
        return currency(chip, { symbol: "∐", separator: ".", decimal: "," }).format();
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions