|
왕초보.. 님이 쓰신 글 :
:
:
: int Price = 14000;http://img.borlandforum.com/impboard/images/btn_submit.gif
: int Volumn = 3113;
:
: int Result = (int)( Price * Volumn) / 10000);
:
:
: 원하는 값 : 4358
:
: 결과값 : -214497
:
:
: 어떻게 계산해야 되는지요?
예) (int) 15700 X (int) 190163 = (int64) 2985559100
엉뚱한 결과값 : 18446744072400143420
|