PtitChat107 wrote:it's sad to have lost my famous separation units, it made the text more readable .
No, you haven't lose it. Just have to create a new Calc measure, which contains the previously removed substitution and use the value returned by this measure just into the appropriate String meter.
Eg, add the following measure:
Code: Select all
[measurePoleEmploiNational2]
Measure=Calc
Formula=[measurePoleEmploiNational]
RegExpSubstitute=1
Substitute="^(\d+)(\d{3})$":"\1 \2"
DynamicVariables=1
See that this measure has the previously removed Substitute option.
Now modify the MeasureName option of the [meterValuePoleEmploiNational] meter to
MeasureName=measurePoleEmploiNational2. This way the "separated" value is used only into the [meterValuePoleEmploiNational] meter, nowhere else.
But here I have one more remark: if you've put a
MeasureName=measurePoleEmploiNational option into the [meterValuePoleEmploiNational] meter, the Text option of this meter shouldn't have to be
Text=[color=#FF0000][measurePoleEmploiNational][/color] offres #DirIcon#, but better
Text=[color=#22FF22]%1[/color] offres #DirIcon#.
Obviously if you find this solution a good one, you have to do the same thing with the [measurePoleEmploiDoubs] measure, too (creating a measure named [measurePoleEmploiDoubs2] - or obviously name it as you want).