realm / realm-object-server

Tracking of issues related to the Realm Object Server and other general issues not related to the specific SDK's
https://realm.io
293 stars 42 forks source link

scientific notation - realm studio #318

Closed jmparsons closed 6 years ago

jmparsons commented 6 years ago

I couldn't find a repository for Realm Studio, but the results in the ui differ from Realm Browser for number fields with small values showing to scientific notation instead of numbers.

kraenhansen commented 6 years ago

This is probably due to limitation in the JavaScripts representation of numbers. Could I get you to comment with a couple of examples of schema property definitions and numbers and what behaviour you're expecting?

bmunkholm commented 6 years ago

@jmparsons Could you comment on above?

jmparsons commented 6 years ago

Yeah for the old realm you could write numerically 0.000000007 and it would show that value versus the studio version shows number e+8^7. It’s a JavaScript issue yes, so however the conversion was made on the old one to show actual value would be a nice representation. On Mon, Feb 5, 2018 at 3:02 AM Brian Munkholm notifications@github.com wrote:

@jmparsons https://github.com/jmparsons Could you comment on above?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/realm/realm-object-server/issues/318#issuecomment-363008165, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfZGjn5WtM-FbBSqYxL2TVzqEfiPeahks5tRrWjgaJpZM4REgRs .

astigsen commented 6 years ago

If this is still an issue, please reopen in the Realm Studio repo: https://github.com/realm/realm-studio/