mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-17 05:47:34 +08:00
Grammar refactoring WIP
This commit is contained in:
8
js/entity/Integer.js
Normal file
8
js/entity/Integer.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import Entity from "./Entity"
|
||||
|
||||
export default class Integer extends Entity {
|
||||
constructor(value) {
|
||||
super()
|
||||
this.value = Math.round(new Number(value).valueOf())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user