View Single Post
Old 07-30-2020, 11:02 AM   #16
Mansoul
Member
Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 20
Karma: 34258
Join Date: Jul 2020
Device: Kobo Libra H2O
Quote:
Originally Posted by davidfor View Post
And here was me thinking of doing:

Code:
program:
minutes = divide(raw_field('#words'),310);
hours = divide(minutes, 60);
hours = list_item(hours,0,'.');
minutes = subtract(minutes, multiply(hours,60));
minutes = format_number(minutes, '02,.0f');
strcat(hours,':',minutes)
Ugly, but it seems to work. I'd probably combine a couple of lines, but, separating them helps the debugging.

But, I've wanted some of your new functions before. So, I'm happy to see them.
I'm using this now, love it.
Mansoul is offline   Reply With Quote