I cant use numbers with decimal point!! help

[i can't use number with decimal point like for example]
a:=total*.25
[how can i use .25?] plss help me!!!

Comments

  • : [i can't use number with decimal point like for example]
    : a:=total*.25
    : [how can i use .25?] plss help me!!!
    :
    All numbers start with a character between 0 and 9. Thus a .25 needs to be written as 0.25.

  • hi frnd....try to use bracket ie. total*(.25);

    or

    use total * (25/100);

    easy,right??

    bye..take care
  • :
    : hi frnd....try to use bracket ie. total*(.25);
    :
    : or
    :
    : use total * (25/100);
    :
    : easy,right??
    :
    : bye..take care
    :
    That's also a possibility, but it introduces a calculation error. It becomes much harder for a number, which cannot be expressed as a fraction, such as: .25641225789456321132
  • : [i can't use number with decimal point like for example]
    : a:=total*.25
    : [how can i use .25?] plss help me!!!
    :

    In Pascal you have to write a number before "."
    a := total * 0.25
  • :
    : hi frnd....try to use bracket ie. total*(.25);
    :
    : or
    :
    : use total * (25/100);
    :
    : easy,right??
    :
    : bye..take care

    :TY very much

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories