Skip to content

[firebase-database] Set decimal value add extra numbers in database #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danouche93 opened this issue Aug 3, 2022 · 0 comments
Closed
Labels
android bug Something isn't working ios

Comments

@danouche93
Copy link

NativeScript CLI : 8.2.3

"@nativescript/angular": "^13.0.0",
"@nativescript/core": "~8.2.2",
"@nativescript/firebase-core": "^2.2.3",
"@nativescript/firebase-crashlytics": "^2.2.3",
"@nativescript/firebase-database": "^2.2.3",
"@nativescript/firebase-messaging": "^2.2.3",
"@nativescript/firebase-messaging-core": "^2.2.3"

When using set(value) function and the value is a decimal number, for example 2.1, the value saved in Firebase Realtime Database is like 2.1203019(with no real logic). For no reason it adds number when there is no need for this.

@triniwiz triniwiz added bug Something isn't working ios android labels Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working ios
Projects
None yet
Development

No branches or pull requests

2 participants