Hi Joanne!
Duration is in minutes, so you have to do it based on the number of hours you have for a typical day. For us, we have 8 hour days so my text mode is...
displayname=Duration (Just Number)
textmode=true
valueexpression={durationMinutes}/480
valueformat=string