Hi,
I have following script that measures the time between actions
put now into startTime
do something
put now minus startTime into entry
The output of entry looks like this: 0.584 seconds
I use
put first word of entry into durationTime
to get rid of the seconds so that I can insert the value into the DB using the add records command.
After successful insert 0.584 is rounded to 1 though…
Is there a way to prevent that from happening?
Also why do I get the ‘seconds’ string in the first place? Is there a way to only get the time it took?
Thanks in advance