B4J Question Float NumberFormat to 3dp

Discussion in 'B4J Questions' started by ElliotHC, Jul 23, 2019.

  1. ElliotHC

    ElliotHC Active Member Licensed User

    I can't seem to get my float to display 3dp

    I am after 0.000 but when I try NumberFormat(N,1,3) I still get 0.00

    What am I doing wrong? I need to force 0.000 all the time.
     
  2. klaus

    klaus Expert Licensed User

    NumberFormat2(N, 1, 3, 3, False)
     
    Erel, mangojack and ElliotHC like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice