Decimal to Fraction

fmhigue
Member Posts: 290
Hi:
Does anyone of you have a function to converter a decimal value to fraction?
Does anyone of you have a function to converter a decimal value to fraction?
0
Comments
-
Hi,
do you mean the function MOD and DIV?
try this:gDec := 123.456; MESSAGE('DIV: %1, MOD: %2',gDec DIV 1,gDec MOD 1);
where gDec is a variable of type Decimal.
br
Josef Metzbr
Josef Metz0 -
This is what is happening:
We have a field on the Item card call
Item Diameter: Decimal
If we type 5/16 it changes the value to .3125
We have to add a field on the right that show that amount on fraction amount.
Let me ttry what you said
Paco0 -
Add a new Text field where you will enter your fraction. OnValidate of this field you can calculate the decimal value to use in in further calculcations (if you need it).®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions