0 Replies Latest reply: Apr 29, 2012 5:18 PM by Torben Seebach RSS

    Javascript, how to set locale and convert

    Torben Seebach

      Hi, I'm getting some troubles with creating an Extension that uses the right locale for numbers. My javascript seems to use different decimal point locale, then what my QlikView app provides, when parsing an sum of an expression.


      So i need to run this.Layout.Text2.text.replace(',','.'); to use the variables in my chart generator.


      I think their must be a more elegant approach, where I could read the local from the QlikView dokument and set it in javascript, has anyone done this?