How to get regional and language option setting

victorMvictorM Member Posts: 24
Dear all,

Is there anyone else knows how to get "Decimal Symbol" and "Digit Grouping Symbol" in regional and language option windows, I need to get it from Navision, because I'm creating a function to read value of decimal places in field.

thanks for reply

Answers

  • kinekine Member Posts: 12,562
    edited 2009-10-09
      Var
        Separators: Text[30];
      begin
        Separators := DELCHR(FORMAT(1000.1),'=','0123456789');
      end;
    


    First char in the string will be thousand separator and second is decimal separator.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • victorMvictorM Member Posts: 24
    Thanks a lot kine, you are very awesome :mrgreen:
  • kinekine Member Posts: 12,562
    You are welcome... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • mratkyamratkya Member Posts: 8
    Thank you so much... :)
  • AndwianAndwian Member Posts: 627
    :lol: Great idea, Kine! Out of the box approach.

    So brilliant! I can not imagine that. =D>

    I will keep it in my mind.
    Regards,
    Andwian
Sign In or Register to comment.