Declare floating point number y and initialize it with the value of integer x .
my $y = $x;
float y = (float)x;
float y = x;
import std.conv : to;
int x; float y = to!float(x); // or float y = cast(float) x;
double y = x.toDouble();
y = x / 1
y := float64(x)
y = fromInteger x :: Double
let y = x + .0
y = x + .0
$y = (float)$x;
var y: single; begin y := x; end;
y = float(x)
y = x.to_f
let y = x as f32;
No security, no password. Other people might choose the same nickname.