[3.0.x] macosx: do not assign intValue to prevent formatting issues
This is a temporary solution for #22576 (closed)
It results in numbers not having thousands separator anymore, which is better than the user being unable to save the desired value.