[Bug]: in-built function SUBSTITUTE does not work as expected #1289
Labels
Bug
Something isn't working
Function
Feature or bug in formula function
Good First Issue
Good for newcomers
Impact: Medium
Released
Description
I am looking for a way to convert values that end in decimal point to number. For example I would like
"13."
to be converted to13
issue 1.
in excel
NUMBERVALUE
function does the job. NUMBERVALUE("13.") results in 13But I did not see it as one of the supported built-in functions. So I thought perhaps i could use
SUBSTITUTE
, and then run into this bugissue 2.
Video or screenshots
No response
Demo
I have added test code above to reproduce.
HyperFormula version
2.4.0
Your framework
plain javascript.
Your environment
Node v16.18.0, MacOS 12.5
The text was updated successfully, but these errors were encountered: