Closed c7h closed 1 year ago
Hello @c7h
I couldn't understand your use case In the code, we reject all inputs other than string and number In which case are you going to correctly convert an object to a float before inserting it into a "decimal" column?
In the code, we reject all inputs other than string and number
this is exactly the problem I'm trying to solve. For some reason, I'm receiving this.
I am not sure why I am receiving an object instead of an int, float or string.
A similar problems happens with DateTime Objects, which are also of type object:
You're correct.
typeof new Number(7.78) === "object"
I'll expand your code to date and accept. Thanks for contributing :D
Hi @Cauen! any updates on this one? :-)
Merged, thanks @c7h \o/
many thanks! works like a charm! ⭐
I'm running into this weird problem where my DecimalScalar return with type object. This PR fixes this Issues.