Skip to content

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

Closed
@danouche93

Description

@danouche93

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions