View Single Post
Old 04-21-2017, 03:41 PM   #1
sekhemty
Member
sekhemty began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo
How to set the number of decimals in a custom column

I have setup a column to evaluate the approximate time required to read a given book, it is a column generated from other columns, and it is based on the word count.

This is what I have done right now:

{#hours:'divide(field('#words'), 250)'}

it works fine, except that I'd like to remove or set a limited number of decimals; having this column say that I need 15 hours makes sense, I don't really need to know that it really is 15.632643
sekhemty is offline   Reply With Quote