Decimal fraction to architectural fraction
|
02-25-2016, 10:04 PM
Post: #2
|
|||
|
|||
RE: Decimal fraction to architectural fraction
Hello DrD'
For My 2cents. Arch to Dec. EXPORT Arch_Dec(ft,in,fn,fd) BEGIN LOCAL A,B; // 02-25-2016 by DGT // Entering feet,inches,frac numerator,frac denominator A:=ft+(((in+(fn/fd)))/12)+"_ft" END; or Dec to Arch EXPORT Dec_Arch(dft,dd) BEGIN LOCAL A,B,C,D,E,F,G; // 02-25-2016 by DGT // Entering decimal feet,desired denominator B:=IP(dft); C:=FP(dft); D:=C*12; E:=IP(D); F:=FP(D); G:=F*dd; A:=B+"'-"+E+"."+G+"/"+dd+"" END; |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Decimal fraction to architectural fraction - DrD - 02-25-2016, 12:06 PM
RE: Decimal fraction to architectural fraction - Daniel - 02-25-2016 10:04 PM
RE: Decimal fraction to architectural fraction - Daniel - 02-25-2016, 10:17 PM
RE: Decimal fraction to architectural fraction - DrD - 02-26-2016, 01:24 PM
RE: Decimal fraction to architectural fraction - Daniel - 02-26-2016, 11:18 PM
|
User(s) browsing this thread: 1 Guest(s)