473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Why these divisions are not the same

How could I make

Me.Hours = Me.Minutes / 60 to be the same as [Minutes]/60.

Me.Hours = Me.Minutes / 60 doesn't give the correct hour.
If I have 66 minutes, it only gives me 1 hour. But with [Minutes]/60, I get 1.1 hour

Michelle
Dec 11 '06 #1
4 1235
MMcCarthy
14,534 Expert Mod 8TB
How could I make

Me.Hours = Me.Minutes / 60 to be the same as [Minutes]/60.

Me.Hours = Me.Minutes / 60 doesn't give the correct hour.
If I have 66 minutes, it only gives me 1 hour. But with [Minutes]/60, I get 1.1 hour

Michelle
Michelle

You need to change the data type of hours from Integer/Long Integer to Decimal or Single.

Mary
Dec 11 '06 #2
Hi Mary,

Where can I change the data type to single or decimal. The table does not have the option to change the data type to Single or decimal.

Michelle
Dec 11 '06 #3
Thanks Mary, it works . Michelle
Dec 11 '06 #4
MMcCarthy
14,534 Expert Mod 8TB
Thanks Mary, it works . Michelle
You're welcome Michelle

Mary
Dec 11 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Remon Huijts | last post by:
Hi, When I use php mail() in a script on my localhost to send an HTML message to an e-mailaccount on my online host, all is fine. When I use php mail() in a script on my online host to send an...
2
by: Uwe Mayer | last post by:
Hi, sorry for the lack of source code. Here again: I use struct.unpack() to unpack data from a binary file and pass the returned tuple as parameter to __init__ of a class that's supposed to...
2
by: Dennis M. Marks | last post by:
I have a javascript that generates a monthly calendar. There are 2 <div>s. One called "calendar" is changed dynamically. The other is called "controls" and is fixed. They are both placed within a...
2
by: Dennis M. Marks | last post by:
Please ignore all previous postings from me for the past couple of days. All has been solved except for the following. I have three divisions that I am having trouble positioning. What works in...
9
by: Håvard Axelsson | last post by:
I have created the above part of a new web site, but there is a strange gap between divs, and I don't know how to remove these. Could you have a look please and tell me what's wrong?...
1
by: Richard | last post by:
http://dynamicdrive.com/dynamicindex5/linkinfo.htm Using the above script, I have a plan whereby when the main link is active, two different content swaps take place. Column A shows the main...
7
by: Sharon | last post by:
Hi all, I've implemented a TCP server using the Socket async methods. When connecting to the server from 3 instances of hyper terminal, i've noticed that each of the newly created server sockets,...
28
by: SzH | last post by:
Suppose that there is a program that takes two files as its command line arguments. Is there a (cross platform) way to decide whether the two files are the same? Simple string comparison is not...
6
by: AllenH | last post by:
I have a question on how to center a < div > on a page. (you can see my code at http://home.satx.rr.com/almain/Test/Default.aspx and http://home.satx.rr.com/almain/Test/AEHcss.css I've noticed a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.