Return the complete number

Greatsam4sure greatsam4sure at gmail.com
Wed Jul 24 15:45:08 UTC 2019


int main(){
  double mum = 0;
  Write("enter a number: ")
  readf(" %s\n",&num);
  Writeln(num);

}

How do I return the complete number the user enter since I don't 
since the user can enter numbers of various length with dmd 
approximating it.

I will appreciate any help


More information about the Digitalmars-d-learn mailing list