Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] when reading dbc but its also relevant to writing them....there are float values....when i read them

[DiscordArchive] when reading dbc but its also relevant to writing them....there are float values....when i read them

[DiscordArchive] when reading dbc but its also relevant to writing them....there are float values....when i read them

rektbyfaith
Administrator
0
11-05-2022, 06:12 PM
#1
Archived author: Rymercyble • Posted: 2022-11-05T18:12:51.513000+00:00
Original source

when reading dbc but its also relevant to writing them....there are float values....when i read them it gives me for example `0.031890999525785` but in wdbx its `0.032` so is value im getting correct ? should i round it ? or does it even matter ?
rektbyfaith
11-05-2022, 06:12 PM #1

Archived author: Rymercyble • Posted: 2022-11-05T18:12:51.513000+00:00
Original source

when reading dbc but its also relevant to writing them....there are float values....when i read them it gives me for example `0.031890999525785` but in wdbx its `0.032` so is value im getting correct ? should i round it ? or does it even matter ?

rektbyfaith
Administrator
0
11-05-2022, 06:33 PM
#2
Archived author: <o> • Posted: 2022-11-05T18:33:46.748000+00:00
Original source

they're normal 754 floats, if you get even remotely correct numbers you're reading them right
rektbyfaith
11-05-2022, 06:33 PM #2

Archived author: <o> • Posted: 2022-11-05T18:33:46.748000+00:00
Original source

they're normal 754 floats, if you get even remotely correct numbers you're reading them right

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)