Floating point precision in gr.Slider

Hello everyone,

I’m working on a fork of this extension for Automatic1111 and I’m running into an issue where the data I’m feeding into my sliders is coming out all wrong due to floating point precision errors in Javascript.

Is there any existing integrations of a library like big.js or decimal.js to address something like this?

Since I’m manipulating model weights having a small rounding error is a BIG problem.