# What is numeric promotion?

This is a discussion on What is numeric promotion? within the Scripts & Content Management forums, part of the Web Designing & Development category; Numeric promotion is a conversion of numeric type of smaller to a larger numeric type,so that integer and floating-point operations ...

1. ## What is numeric promotion?

Numeric promotion is a conversion of numeric type of smaller to a larger numeric type,so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are converted to int values. The int values are also converted to long values, if necessary. The long and float values are converted to double values, as required.  Reply With Quote

2. ## Re: What is numeric promotion?

It is applied to operands of an arithmetic operator this context allow the use of an identity conversion it is used to convert operands of the numeric operator to the common type it have two types unary numeric operation,binary numeric operation.  Reply With Quote

3. ## Re: What is numeric promotion?

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are converted to int values.  Reply With Quote

4. ## Re: What is numeric promotion?

Numeric promotion also known as Implicit casting or java automatic conversions where conversion of a smaller numeric type value to a larger numeric type automatically, so that integer and floating-point operations may take place.  Reply With Quote

5. ## Re: What is numeric promotion?

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are converted to into values.  Reply With Quote

6. ## Re: What is numeric promotion?

Very well described. Thanks For Your Information.  Reply With Quote

asp, php  