Advanced Microcomputer Systems
Advanced Microcomputer Systems Circuit Creator FREE DEMOUpgrade your AMS CAD SoftwarePCB Design Kit as low as $149 per kitSpice Creator FREE DEMO

Hardware
Training Tools
Data Acquisition
I/O Cards
Development Tools
Pic Tutor

Software

CAD
Education
Consulting

Downloads 

PRICE LIST

Corporate

About AMS
Chronology
Contact

Sales Offices

US
International

Publication

EBOOKS
Articles
Press Release
CAE Glossary
Design
Guidelines

PCB FABRICATION

Resource

Resource Page

EZMicro
Resource


Support
Registration
Support
Payment
Terms

 
Site Designed by

GlobalAMS

Electronics

E

Establishing the Decimal Point

A numerical value in RS-274D data has an integer and a decimal part, but the decimal point ('.') is not a valid RS-274D character. Thus, decimal values are written as a string of integers. The implicit position of the decimal point is determined by three parameters:

Number of integer digits (whole digits)

Number of decimal digits (precision)

Zero suppression.

For example: In a system with integer digits=n and decimal digits=m (an "n,m" system), a numerical value is written using (n+m) digits.

For example, in a "2,3" format the value 12.345 is written "12345". In a "2,4" format, the same value is written "123450".

Zero suppression comes in three flavors - leading, trailing and none. The idea of zero suppression is to reduce data file sizes by eliminating unneeded 0 characters. The simplest and most common form of zero suppression is leading zero suppression.

In a "2,4" format, with no zero suppression, the value 0.0100 would be 00 + 01000, written as "000100", but with leading zero suppression the same value is written as "100".

With trailing zero suppression the same value 0.0100 would be written as "0001".

ams Advanced Microcomputer Systems, Inc.
10116 NW 53rd St., Sunrise, FL 33351-8020
Phone: (954) 784-0900, Fax: (954) 784-0904

1-800-319-3599

E-Mail: info@advancedmsinc.com


Return to AMS homepage

 

 

 

Click here for More Info....