I use Meteor. It uses Javascript on both the server and client.
When I run Math.sin(356644061314425) * 10000 i get:
-9986.46139381927 on the server and
-9986.46115497749 on the client / browser / app
Why is this? How can I prevent this?
EDIT: The proposed duplicate questions refer to degrees / radians. I think mine is more a runtime problem.