Re: Conversion problem.

2019-06-26 Thread Den_d_y via Digitalmars-d-learn
On Wednesday, 26 June 2019 at 10:49:50 UTC, Den_d_y wrote: On Wednesday, 26 June 2019 at 05:53:29 UTC, Den_d_y wrote: On Tuesday, 25 June 2019 at 16:44:28 UTC, H. S. Teoh wrote: On Tue, Jun 25, 2019 at 12:08:07PM +, Den_d_y via Digitalmars-d-learn wrote: [...] [...] Did you try this?

Re: Conversion problem.

2019-06-26 Thread Den_d_y via Digitalmars-d-learn
On Wednesday, 26 June 2019 at 05:53:29 UTC, Den_d_y wrote: On Tuesday, 25 June 2019 at 16:44:28 UTC, H. S. Teoh wrote: On Tue, Jun 25, 2019 at 12:08:07PM +, Den_d_y via Digitalmars-d-learn wrote: Hello! Here I am again, with my problem ... In my program, I cannot manage to convert from "dou

Re: Conversion problem.

2019-06-25 Thread Den_d_y via Digitalmars-d-learn
On Tuesday, 25 June 2019 at 16:44:28 UTC, H. S. Teoh wrote: On Tue, Jun 25, 2019 at 12:08:07PM +, Den_d_y via Digitalmars-d-learn wrote: Hello! Here I am again, with my problem ... In my program, I cannot manage to convert from "double" to "int". Here is the code: [...] Did you try this?

Re: Conversion problem.

2019-06-25 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Jun 25, 2019 at 12:08:07PM +, Den_d_y via Digitalmars-d-learn wrote: > Hello! Here I am again, with my problem ... In my program, I cannot manage > to convert from "double" to "int". Here is the code: [...] Did you try this? import std.conv : to; double d = ...;