

Creator
2016-09-19
08:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Converting number into hours and minutes
Hi,
I have 20.66 in number format i want to convert it into hours and minutes i .e is 21:6 .any solution for this .
5,368 Views
1 Solution
Accepted Solutions

Partner - Champion III
2016-09-19
08:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interval( MyNumber / 24 , 'hh:mm')
talk is cheap, supply exceeds demand
6 Replies

Partner - Champion III
2016-09-19
08:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interval( MyNumber / 24 , 'hh:mm')
talk is cheap, supply exceeds demand

Anonymous
Not applicable
2016-09-19
08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Time( COMP_DAILY_ID,'HH:MM')
4,666 Views


Partner - Master
2016-09-19
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Something like this
Time((Left(20.66,2)*60+right(20.66,2))
/(24*60)
,'hh:mm')
4,666 Views


Partner - Master
2016-09-19
09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should add that it might very well be that Gysbert's solution is correct and that your assumption the outcome should be 21:06 is wrong. My suggestion results in your stated expected outcome, but 20.66 as a number would be a weird notation for that. Where did it come from?
4,666 Views


Creator
2016-09-19
11:51 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the number should be converted is what i mean
4,666 Views

MVP
2016-09-20
12:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=text(subfield('20.66','.',1)+ div(SubField('20.66','.',2),60)) & ':' & mod(SubField('20.66','.',2),60)
4,666 Views
