[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: removing commas from a cell in kspread
From:       Sepp =?iso-8859-1?q?K=E4sbauer?= <cho-00047 () chiemgau-online ! de>
Date:       2002-06-21 18:38:12
[Download RAW message or body]

Am Freitag, 21. Juni 2002 08:41 schrieb David Faure:
> >  convcal 2452446.34033569
> > 2002-06-20T20:10:05.004
>
> Can the formula for this kind of transformation be coded with the KoScript
> formula language?
> I mean, if it's not possible to do it with a single line formula, maybe
> this would be a good reason to reintroduce some of the old kscript into
> koscript, like if, for, while, etc. As long as there's no "open file, list
> dir" stuff, but only calculation-related constructs, this shouldn't be a
> problem. We always said "code, macros.... should be out of the document
> data", but in kspread there are always formulas in cells.... This isn't
> about scripting, in fact, it's about doing (advanced, more than one line)
> calculations in a spreadsheet.

Its not so easy to code this. I am not familiar with koscript but the source 
code is 1087 lines with comments.... 
Think about calculating leap years, leap seconds, julian to gregorian 
calculation and vice versa and the calculation accuracy goes down to 
microseconds. 


>
> - --
> David FAURE, david@mandrakesoft.com, faure@kde.org
> http://people.mandrakesoft.com/~david/
> Contributing to: http://www.konqueror.org/, http://www.koffice.org/
> KOffice-1.2-beta2 is coming very shortly...

-- 
Sepp Käsbauer

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic