XEROF

 

xlsgen 3.0 build #48 : Number format fractions


Build 3.0.0.48 of xlsgen adds support for fractions in number formats.

Fractions is a display mechanism in Excel where, instead of showing 5.25 for instance, you can show 5 1/4 by simply choosing this number format : #\ ?/?.

The ?/? expression is meant to say : a fraction up to one digit for the numerator and the denominator. The expression can support any number of question marks, and you can also specify the denominator, as in ?/50. Excel computes the numerator and denominator. xlsgen did not do this so far. Until this build, that is.

Note that Excel's own algorithm for inferring fractions isn't always the best. In principles, Excel is supposed to compute and display the best estimate fraction whenever there is no strictly equal numerator/denominator matching the fractional value. However, if you decide to enforce this to say 8.36 with the expression #\ ?/?, i.e. best one-digit fraction, Excel will show 8 1/3, even though the best one-digit fraction actually is 8 3/8, since 1/3 = 0.33333... which is more distant to 0.36 than 3/8 = 0.375 is. This can be seen as a bug in Excel, and xlsgen does not try to mimic this bug. This bug is not fixed in Excel 2013.



Also in this build, a couple improvements related to formatting labels (i.e. number formats rendered in cells), and also date/time parsing.



Posted on 29-August-2012 22:33 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

 

<-- previous page

< June >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930



 

 

This site
Home
Articles

DevTools
CPU-Z
EditPlus
ExplorerXP
Kill.exe
OllyDbg
DependencyWalker
Process Explorer
autoruns.exe
Araxis
COM Trace injection
CodeStats
NetBrute
FileMon/Regmon
BoundsChecker
AQTime profiler
Source monitor
GDI leaks tracking
Rootkit revealer
Rootkit removal
RunAsLimitedUser(1)
RunAsLimitedUser(2)

 

 

Liens
Le Plan B
Un jour à Paris
Meneame
Rezo.net (aggr)
Reseau voltaire
Cuba solidarity project
Le grand soir
L'autre journal
Le courrier suisse
L'Orient, le jour
Agoravox (aggr)