Forum Discussion

Tito's avatar
Tito
Helper IV
3 years ago

format the number

Hello, everyone
How can I format the number 1.00054E+16 to 1.00054 in Power Query or with a DAX function.
Thanks

10 Replies

    • PaulDBrown's avatar
      PaulDBrown
      Community Champion

      That's weird. Does the ROUND function work?

       

       

      or....

      VALUE(FORMAT())?

       

      • Tito's avatar
        Tito
        Helper IV

        doesn't work because i have a scientific number

    • Greg_Deckler's avatar
      Greg_Deckler
      Community Champion

      Tito PaulDBrown Um, at the risk of pointing out the obvious, 1.00054E+16 is in no way, shape or how equivalent to 1.00054. Like, at all. If you want to get 1.00054 from 1.00054E+16 you are going to need to divide by like 1E+16, right?

      • PaulDBrown's avatar
        PaulDBrown
        Community Champion

        OMG!b you are soo right! LOL!More fool me for assuming the "," was the decimal delimiter (which is so in my whereabouts...). Apologies Tito