Author Topic: Changing number format  (Read 2634 times)

Jhon Cena

  • Guest
Changing number format
« on: June 12, 2018, 04:04:15 am »
Is there a way to change the number format in codeblocks, changing the dot and using commas?

Example:
Input: 5,1 instead 5.1

The CODE::BLOCKS just accept the "5.1" value for a number, the "5,1" value will cause an error. There is a way to change this?
« Last Edit: June 12, 2018, 04:13:59 am by Jhon Cena »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Changing number format
« Reply #1 on: June 12, 2018, 04:25:20 am »
Do you know that Code::Blocks is a IDE/Editor and not a compiler?

If the answer is yes; then state where in the Code::Blocks GUI you are entering the data?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org