Item 5 of 9 Previous | Next

1
Vote

PowerShell Langauge bug in multiplication

description

First of all, AWESOME work, thanks to everyone involved ... and ... is this still the best place to post bugs for these?

I have an assembly where the code generated looks like this in C#:

{{
for (int i = 0; i < num5; i++)
{
double num9 = (random.NextDouble() * num6) + num;
...
}
}}

But like this, in PowerShell:

{{
for($i = 0; ($i -lt $num5); $i++)
{
$num9 = (($random.NextDouble()$num6) + $num)
...
}
}}

It's just missing a multiplication operator: *

No files are attached

comments