'How to change the format of a percentage number?

I am localizing a static html website from English into French using Trados. Trados shows me correctly all the segments I have to translate, but on the website there is a percentage progressing when I scroll down (it starts from 0%, 0.1%, 0.2%... to 90.1%) which does not appear on Trados and I have to change them in 0 %, 0,1 %, 0,2 % and so on. In other words I have to replace the dot with a comma and add a non-brake space before the "%" symbol. In which file do I have to change that (html? javascript?) and how? Can anyone please help me?

In the html file I can see:

<div class="section" data-scroll="updatePercentNumber" data-begin="0" data-end="0.16">

and then:

<div class="section" data-scroll="updatePercentNumber" data-begin="0.16" data-end="0.55">

and then:

<div class="section" data-scroll="updatePercentNumber" data-begin="0.55" data-end="0.901">


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source