[b][red]This message was edited by ajtr211 at 2004-9-16 7:38:21[/red][/b][hr]
Please can anyone help me
to finish this program?
value0 dd 1.509
value1 dd ?
str1 BYTE "Enter a decimal number: ",0
mov edx,offset str1 ;write str1 to output
call WriteString ;from my lib,say I enter 50
call ReadInt ;eax = dec num
mov value1,eax ;eax =puts 50 in value1
lea esi,value0 ;esi = 1.509
lea edi,value1 ;edi = 50
Can anyone finish this program
from here and multiply 50 by 1.509
to give an answer of 75.45 the
decimal point must show on the
Thanks to everyone who trys
only I have got stuck.