Print Page | Close Window

Change decimal separator

Printed From: FrameBuilder-MRD
Category: FrameBuilder MRD
Forum Name: Error Messages
Forum Description: Solutions to Certain Error Messages Received
URL: http://www.framebuilder-mrd.com/forum/forum_posts.asp?TID=235
Printed Date: 20 Apr 2024 at 12:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change decimal separator
Posted By: administrator
Subject: Change decimal separator
Date Posted: 01 Jun 2022 at 12:44pm
You get a message asking you to change your computers decimal separator.

Step1:
Open: command prompt(cmd)

Step2: 
Copy and running the following commands.

@ECHO OFF
SET registreChemin=HKEY_CURRENT_USER\Control Panel\International
SET registreCle=sDecimal
SET registreType=REG_SZ
SET registreValeurVirgule=,
SET registreValeurPoint=.
REG QUERY "%registreChemin%" /v "%registreCle%" | FIND "%registreValeurPoint%"
CLS
IF %ERRORLEVEL%==1 GOTO ADD_POINT
IF %ERRORLEVEL%==0 GOTO ADD_VIRGULE
:ADD_VIRGULE
REG ADD "HKEY_CURRENT_USER\Control Panel\International" /f /v "sDecimal" /t %registreType% /d "%registreValeurVirgule%"
CLS
ECHO Separateur decimal ","
GOTO END
:ADD_POINT
REG ADD "HKEY_CURRENT_USER\Control Panel\International" /f /v "sDecimal" /t %registreType% /d "%registreValeurPoint%"
CLS
ECHO Separateur decimal "."
GOTO END
:END
PAUSE



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net