oh, finally my dad helpd me, the thing in the Bold is the thing i forgot
void __fastcall Tmpstokmph::calculate(TObject *Sender)
{
kmph->Text = FloatToStrF((StrToFloat (mps->Text * 60) * 60) /...
Type: Posts; User: Moffia
oh, finally my dad helpd me, the thing in the Bold is the thing i forgot
void __fastcall Tmpstokmph::calculate(TObject *Sender)
{
kmph->Text = FloatToStrF((StrToFloat (mps->Text * 60) * 60) /...
nope that's not it, because i want the mps variable multiplies with 60, and that answer must be multiplied with 60, and that answer must be divided by 1000
i am making a program that's calculate Meters Per Second into Kilometers Per Hour.. i used this piece of code to do the calculate:
void __fastcall Tmpstokmph::calculate(TObject *Sender)
{...