| |||||
| Bas de page | |
|---|---|
| Auteur | Sujet : float double et arrondi |
Publicité | Posté le 25-08-2007 à 01:19:23 ![]() ![]() |
Taz bisounours-codeur | NE JAMAIS UTILISER DE FLOAT/DOUBLE EN COMPTA ! JAMAIS !
|
simla | ok merci beaucoup pour cette réponse Message édité par simla le 25-08-2007 à 13:49:29 |
Taz bisounours-codeur | avec la bonne méthode, comme écrit dans la doc |
simla | oui j'avais regardé |
darklord You're welcome |
|
simla | En même temps pour pas connaitre int je pense que la personne a abordé la programmation sans commencer par les bases |
Taz bisounours-codeur |
|
Publicité | Posté le 26-08-2007 à 17:16:07 ![]() ![]() |
Taz bisounours-codeur | nan mais le problème ici c'est pas le BigDecimal, c'est le double que tu utilises pour le construire. Utilise un autre constructeur. |
frabfr57 |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
simla |
|
esox_ch |
--------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
esox_ch | Oui justement, il me semblait d'avoir fait le tour et de rien avoir vu --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
leonhard |
|
esox_ch | Question : Alors pourquoi ces problèmes d'arrondi disparaissent avec le BigDecimal ? --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
esox_ch | Très bien, merci --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
Publicité | Posté le ![]() ![]() |






