About firebase valuetostore

I want to use firebase store value command for set a number on firebase but it alway change to string, plz help

Try my new extension here:

com.gordonlu.string2number.aix (5.4 KB)

image

Or my STIITS Extension -

image

STIITS.aix (4.0 KB)

1 Like

No extensions required, use the join block to convert from number to string, and multiply a a string number by 1 to get a number.

image

Firebase will still display a number in quotes - "12", this is how the AI2 firebase component handles data, but it will return to AI2 as a number.

If you really need numbers in firebase, then use the web component to send data to firebase

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.