Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to convert int to char type
How to convert int to char type
Nt to char is actually converted into ascll code. Int bai data can be single digits, and Du Can can be a larger number. If it is a single digit, it can be converted into char by the function of zhi compiler.

The INT function returns the integer value rounded down from the real number. The syntax format is INT (number), where number is a real number that needs to be rounded. For example, the return value of INT( 8.6) is 8, and that of INT(-8.6) is -9.

Extended data:

The function converts a basic number or string into an integer. INT(x) can find the largest integer not greater than x.

Although these two functions are both integer functions, their algorithms are different. The INT function returns an integer smaller than the given parameter and closest to it, while the TRUNC function directly returns an integer with the decimal part removed.