Patch level :10.0
Files correlati :ba3.exe Ricompilazione Demo : [ ] Commento :salvatore numeri romani decisivo per la tabella della IV direttiva git-svn-id: svn://10.65.10.50/trunk@20259 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
90921f3979
commit
0c2be71f6b
@ -35,5 +35,6 @@
|
|||||||
#define EFF_IMPORTOVAL "IMPORTOVAL"
|
#define EFF_IMPORTOVAL "IMPORTOVAL"
|
||||||
#define EFF_ACCSAL "ACCSAL"
|
#define EFF_ACCSAL "ACCSAL"
|
||||||
#define EFF_SPESE "SPESE"
|
#define EFF_SPESE "SPESE"
|
||||||
|
#define EFF_PROGBNP "PROGBNP"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -4343,7 +4343,7 @@ const char* TReal_field::reformat(const char* data) const
|
|||||||
{
|
{
|
||||||
const int d = decimals();
|
const int d = decimals();
|
||||||
word s = size();
|
word s = size();
|
||||||
if (d == 0 && s <= 6)
|
if ((d == 0 || roman()) && s <= 6)
|
||||||
{
|
{
|
||||||
str.format("%ld", atol(data)); // Gestione "veloce" degli interi
|
str.format("%ld", atol(data)); // Gestione "veloce" degli interi
|
||||||
}
|
}
|
||||||
@ -4358,7 +4358,10 @@ const char* TReal_field::reformat(const char* data) const
|
|||||||
{
|
{
|
||||||
s = d;
|
s = d;
|
||||||
if (s <= 0) s = 4;
|
if (s <= 0) s = 4;
|
||||||
|
const real r(data);
|
||||||
|
str = r.string(s, 0, '0');
|
||||||
}
|
}
|
||||||
|
else
|
||||||
str.right_just(s, '0');
|
str.right_just(s, '0');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user