When you translate programs from one language to another, be aware of the hidden pitfalls in translation. For example, an operation in one language might have similar syntax to an operation in another language without being similar semantically.
Languages can also differ in how they treat mixed integers and reals.
The programmer translating must be aware that the results of such expressions depend on the language used. Languages also differ in how they convert from a real number to an integer. For example, in Fortran, assigning a floating-point value to an integer rounds toward zero. Inc. All rights reserved.