Feedvalue widget - decimal option

I thought it was handy to have an option to select the amount of decimals in a feed value instead of an automatic select of one decimal if the feedvalue goes above 100. I adapted the code to be able to do so. Is it something that can be put into the main code?

I never really did programming so I don't know how usable it is, but I can of course provide the code alterations.  :)

Thanks for this great software!!