Multiplying Decimals
- From: "Brian" <Brian@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Jul 2005 10:45:05 -0700
I am trying to translate a decimal to time. For example, 7.5 to 7:30. Below
is my code. If I can multiply the .5 by 60, I will get the :30, but I can't
figure out how to tell the program to multiply only the .5 and not the entire
number (TimA or 7.5).
TextBox7.Text = CStr(Int(TimA)) & ":" & Format((TimA * 60), "00")
Any help would be greatly appreciated. Thanks!
.
- Follow-Ups:
- Re: Multiplying Decimals
- From: Jay B. Harlow [MVP - Outlook]
- Re: Multiplying Decimals
- From: Ross Presser
- Re: Multiplying Decimals
- From: Armin Zingler
- Re: Multiplying Decimals
- From: Robin Tucker
- Re: Multiplying Decimals
- Prev by Date: referencing .tsp
- Next by Date: Re: Multiplying Decimals
- Previous by thread: referencing .tsp
- Next by thread: Re: Multiplying Decimals
- Index(es):