Skip to content

Reflet PID SVA #564

Answered by manufitoussiwit
JYK-WIT asked this question in Q&A
Discussion options

You must be logged in to vote

J'ai une proposition pour utiliser uniquement le reflet :

Dans l'évènement onRequestDone, ajouter ce script :

const reflect = context.data;
const precision = 2;
if (reflect) {
  reflect.output = parseFloat(reflect.output).toFixed(precision);
  reflect._setupStateText();
}

la variable precision est le nombre de chiffre après la virgule.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by manufitoussiwit
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #551 on February 09, 2023 11:19.