Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
How to convert Time budget field to decimal
i'm trying to use a Job's "Initial Time Budget" field (estimatedtime) for a pricing calculation in a formula field, but i'm stuck on how to convert it to a decimal amount
the budget hours display as "86:00" but appear to be stored as a complete date+time (currently with date 1 Jun 07). If i use TO_CHAR({estimatedtime},'HH24:MI') then i can extract a string, which could be decimalised, but only if the budget is under 24 hours.
all i need is a decimal with no limits... e.g. so that "86:30" becomes decimal
86.5
can any oracle gurus show me the way?
thanks
0