Tech_knowledge Posted April 11, 2005 Posted April 11, 2005 Hello, hopefully someone can point me in the right direction with this one, I have two value list of times, start time and end time and I have another field that's a calculation field based off of my two time value list when I subtract end time from start time I get and whole number for instance 1, 2, 3 and I would like a more accurate calculation for instance START TIME 4:00 AM END TIME : 5:15 PM RESULT : 13.15 HOURS USED IS THIS POSSIBLE?
Ender Posted April 11, 2005 Posted April 11, 2005 Set your Result field's format to display the decimal portion of the number (Result IS a number result, right?)
Tech_knowledge Posted April 11, 2005 Author Posted April 11, 2005 No RESULT is a calculation field END TIME - START TIME, should I change it to a number field and have evaluate a calculation?
comment Posted April 11, 2005 Posted April 11, 2005 If both END TIME and START TIME are Time fields, and your calculation field result is set to Time, then that should be it. Check how the field is formatted to display Time (in Layout mode).
Ender Posted April 11, 2005 Posted April 11, 2005 Oops, thought you were looking for the decimal remainder, but that's a different calc (13.25 hours, instead of 13:15 hours.)
Tech_knowledge Posted April 11, 2005 Author Posted April 11, 2005 Sorry, I'm a little confused and it may be my fault, I have two value list with times, the user selects the time my RESULT field is simply a calculation field that subtracts END TIME from START TIME and the result that I want is a decimal remainder for instance 13.25 hours used
Ender Posted April 11, 2005 Posted April 11, 2005 In that case the Result calc would be: Result (calculation, number result) = (End Time - Start Time) / 3600 Where this field is displayed, it should be formatted to have 2 decimal places.
Tech_knowledge Posted April 13, 2005 Author Posted April 13, 2005 I don't understand your equation Result(calculation, number result) what's this I don't see a function named result how exactly would I implement this?
Ender Posted April 13, 2005 Posted April 13, 2005 Result is not a function, it's the name of your calc. "calculation" is the field type and "number result" is the type of result the calculation produces. There's not a great way to describe field definitions, so we use this format.
Tech_knowledge Posted April 13, 2005 Author Posted April 13, 2005 You're a modern day genius, thanks a million!!!!!!
Recommended Posts
This topic is 7165 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now