Closed connos closed 10 years ago
Hey guys
For the time being you can insert
//ensure that the string is *only* a number
if(!/^\-?\d+(\.\d+)?$/.test(obj)) return obj;
above this line: https://github.com/jpillora/node-edit-google-spreadsheet/blob/stable/lib/util.js#L7
I guess this is a bug though I'm not sure if people are relying on this now lol :O
Might just put this in next release anyway :)
Cheers Jaime
That works great. Thanks v much Jaime
Steve C & Tom M
Glad it's being put to good use :)
On Thu, Feb 27, 2014 at 12:02 AM, Steven Connor notifications@github.comwrote:
That works great. Thanks v much Jaime
Steve C & Tom M
Reply to this email directly or view it on GitHubhttps://github.com/jpillora/node-edit-google-spreadsheet/issues/22#issuecomment-36122221 .
Hello,
We have an issue with node-edit-google-spreadsheet.
This cell in our google spreadsheet:
Get changed into this:
But when we change the cell to this:
It outputs correctly.
Are you able to fix this or recommend a solution?
This node project is really good, we're using it at the BBC to help us make the News website. :-)
Thanks, Steve C & Tom M.