negative numbers formatted as text

spartner
spartner โœญโœญ

I am using the JSON string below to add rows to a sheet via the API

However if the value is negative, as in this case, the value is entered as a string rather than a number so -9987.5 becomes '9987.5

Positive values work just fine

I believe something has changed recently as this didn't happen before. How can I specify that the number be treated as a number and not a string


[

ย ย {

ย ย ย ย "cells": [

ย ย ย ย ย {

ย ย ย ย ย ย ย ย "value": "-9987.5",

ย ย ย ย ย ย ย ย "strict": false,

ย ย ย ย ย ย ย ย "columnId": 3952583094101892

ย ย ย ย ย ย }

ย ย ย ย ],

"format": ",,,,,,,,,,,,,,2,,",

ย ย ย ย "parentId": "6622467836563332"

ย ย }

]

Answers

NEW Smartsheet API Documentation - bookmark the updated link! https://developers.smartsheet.com