Post Reply 
Extract from Time
10-12-2015, 08:06 AM
Post: #5
RE: Extract from Time
(10-12-2015 06:52 AM)cyrille de brébisson Wrote:  HMS-> will not do what you think/want.
HMS-> will convert a real number which is represent HMS values (with the decimal part in the [0 to 0,6[ range into a number with a decimal part in the [0..1[ range.

I strongly suspect that this is not correct. If it were correct, then HMS→(1.3) would return 1.5 (as on other HP calculators), but it doesn't. HMS→(1.3) returns 1.3, and in general the HMS→ function simply returns any real argument unchanged. All it does is turn off the HMS display flag for HMS-format inputs. That makes it perfect for what the OP wanted, and less cryptic than 0+Time or approx(Time) or evalf(Time) or anything like that.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Extract from Time - Powersoft - 10-10-2015, 06:53 PM
RE: Extract from Time - Thomas_Sch - 10-10-2015, 09:02 PM
RE: Extract from Time - Thomas_Sch - 10-12-2015, 06:57 AM
RE: Extract from Time - Joe Horn - 10-12-2015 08:06 AM



User(s) browsing this thread: 1 Guest(s)