Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Calculator that will covert a decimal inch measurement to a mix fractional feet measurement

Posted on 2008-10-29
3
Medium Priority
?
1,015 Views
Last Modified: 2012-06-27
I would like to make a calculator that will covert a decimal inch measurement to a mix fractional feet measurement and vise-versa.
0
Comment
Question by:ITennis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 1000 total points
ID: 22832137
0
 
LVL 18

Assisted Solution

by:deighton
deighton earned 500 total points
ID: 22832561
your basic formula is


from decimal value x

feet = int(x / 12)

inch = x - feet * 12



from feet inches to decimal

feet * 12 + inches
0
 
LVL 1

Assisted Solution

by:DDPaL
DDPaL earned 500 total points
ID: 22899796
Here's a free one already been made - convert.exe
http://wscope.com/convert.htm
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
Have you ever thought of installing a power system that generates solar electricity to power your house? Some may say yes, while others may tell me no. But have you noticed that people around you are now considering installing such systems in their …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question