Question on avoiding exponential format in numbers

I have a requirement where I have to perform different type of validations (onscreen) based on calculations that involves 10 digits up to 2 decimal places (ex: 8542137887.12). when I am trying to achieve same using decimal data type it is getting converted into Exponential format. can any one suggest me some workaround?

Note: calculations involve multiplication, division addition and subtraction.

OriginalPostID-199279

OriginalPostID-199279

  Discussion posts and replies are publicly visible

Parents
  • Look at the below results. On multiplication of different numbers.

    =with(
    local!number: 12345679,
    local!number*9 & char(13) &
    text(local!number*9, "### ### ### ### ###.##")&char(13)&char(13)&
    local!number*90 & char(13) &
    text(local!number*90, "### ### ### ### ###.##")&char(13)&char(13)&
    local!number*900 & char(13) &
    text(local!number*900, "### ### ### ### ###.##")
    )

    Result:

    111111111
    111 111 111.00

    1111111110
    1 111 111 110.00

    -1773790788
    - 1 773 790 788.00
Reply
  • Look at the below results. On multiplication of different numbers.

    =with(
    local!number: 12345679,
    local!number*9 & char(13) &
    text(local!number*9, "### ### ### ### ###.##")&char(13)&char(13)&
    local!number*90 & char(13) &
    text(local!number*90, "### ### ### ### ###.##")&char(13)&char(13)&
    local!number*900 & char(13) &
    text(local!number*900, "### ### ### ### ###.##")
    )

    Result:

    111111111
    111 111 111.00

    1111111110
    1 111 111 110.00

    -1773790788
    - 1 773 790 788.00
Children
No Data