# Added compilation error when a non-float is given to @floatToInt\(\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/768d1fc539e425280acba5b30256e3b1267ddfbb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 768d1fc539e425280acba5b30256e3b1267ddfbb

Requested commit: 768d1fc539e425280acba5b30256e3b1267ddfbb

Commit: 768d1fc539e425280acba5b30256e3b1267ddfbb

Tree: 84ce94293869ea0d9706d9125f7ca38190ec3e97

Author: hfcc

Committer: hfcc

## Message

```
Added compilation error when a non-float is given to @floatToInt()

```

## Parents

- [ffb3b1576b1c02942bce89ef05eaf05fe2f026ac](https://git.cafe/gitcafe/zig/commit/ffb3b1576b1c02942bce89ef05eaf05fe2f026ac?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/768d1fc539e425280acba5b30256e3b1267ddfbb?format=markdown)
