In the message, divide seconds by 60.
1 Like
Iām tryingā¦ Have nearly succeeded, but how do I remove the decimal? Iāve tried:
There are {{ t | int / 60 | round|int }} minutes remaining
and
There are {{ t | int / 60 | round }} minutes remaining
If minutes are represented in seconds, the value will be an integer (and a multiple of 60).
3 minutes x 60 seconds/minute = 180 seconds
Dividing that value by 60 will produce an integer value.
180 seconds Ć· 60 seconds/minute= 3 minutes
In other words, the result should not be a floating point number (i.e. a value with decimals) unless the number of seconds isnāt a multiple of 60.
How many minutes is it and how does it appear in the message?
5 minutes or 300 seconds
it appears as:
āThere are 5.0 minutes remainingā
There are {{ (t / 60) | int(0) }} minutes remaining
1 Like
Thanks, that worked!