Hops bug - converting dot to comma

Rh8 SR17, Hops 0.16.23
@AndyPayne
When passing coordinate data through Hops Context print, the dot gets changed to comma - unless the data is explicitly said to be str.


Hopps comma.gh (12.8 KB)


My assumption is that my windows local settings interprets the decimal number somewhere in between and changes the display to European/Finnish display standard 1.1 → 1,1.

I forgot to mention that this this was a new installation of Hops.
It did not work at start, but after the Console instructed me to install " ASP.NET Core 7.0 Runtime (v7.0.20)", it started to work.

Any thoughts or advise on this @AndyPayne?

What is your current language setting? We’ve tried to force Culture Invariant to be used on Rhino.Compute but there may still be an issue with it.

@AndyPayne
All Finnish (Suomi) at least on this computer, and English is not set even as an optional language.

Well, like I said, we’ve tried to force Rhino.Compute to use the Invariant Culture which I think should return a decimal… but I think this still needs some more investigation. I’ve created COMPUTE-313 to track this issue.

@AndyPayne Any steps to be taken here to bypass the issue? What’s the influential Win setting here, other than the delimiter which I cannot change.

To be honest… I’m not quite sure. I use an English keyboard/setup so I haven’t run into this issue much. It will require some investigation.