percentage of total sql execution time is always 0%

Description

with the modern template, the percentage is always 0% for sql execution times as percentage of all sql execution times

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1285

this is the code

1 #unitFormat(arguments.custom.unit, queries.time / local.total * 1000,prettify)#

changing it to just this shows values, i think it might be problem with the unitFormat function

1 #queries.time / local.total * 1000#

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1982

Environment

None

Status

Assignee

Michael Offner

Reporter

Zac Spitzer

Labels

Fix versions

Affects versions

5.3.3.18

Priority

New