slint/internal/compiler/generator
Olivier Goffart f5d003d1e2 Fix conversion to from float to int
Round the value.

The previous behavior is that

 - For the interpreter, we were rounding (same as new behavior)
 - for Rust and C++ we were truncating, unless the properties were
   inlinined and then we were keeping it as float
2024-07-23 17:32:57 +02:00
..
cpp.rs Fix conversion to from float to int 2024-07-23 17:32:57 +02:00
rust.rs Fix conversion to from float to int 2024-07-23 17:32:57 +02:00