I am passing a duration type field a number value for update:
1let [audioFile, duration] = await concatenateFiles(audioUrls);2console.log(duration); // this is showing a number with decimal3// make the update4await table.updateRecordAsync(record, {5 AudioURL: audioFile,6 Duration: duration,7 Status: {name: "Done"}8});9
All 3 fields are updated but the duration is always zero after this update. Do I need to supply something other than a number to the duration data type?
Edit: I tried to use Math.round(duration) to no effect