• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

(How) Can I enable a different decimal seperator for variables?

Community Beginner ,
Jun 19, 2020 Jun 19, 2020

Copy link to clipboard

Copied

Hi there. I'm not sure if this has been asked before but I haven't found any similar question.

Here in Germany we use a comma as a decimal seperator (for example when we write "35,50 €"). My problem is that in Cap2017, which we currently use at our org, I can't do basic arithmetic operations with variables that use a comma as a decimal seperator. It only works with a dot. This is problematic because I want to use a TEB variable with user input.

 

Is there any way to change a setting to switch over from dots to commas as seperators or enable both? The only other option would be to basically convert the user input variables via JS.

TOPICS
Advanced actions

Views

97

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 19, 2020 Jun 19, 2020

Copy link to clipboard

Copied

LATEST

...

Hello !...

I had the same problem... (I'm french...)

I used Javascript (Action in On Enter):

var new_var = old_var.toLocaleString("fr-FR");

old_var = variable with dot

new_var = variable with coma

(I think you can also change the "fr-FR" with "de-DE" ???...)

Hope that helps !...

😉

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines