donators

n@work Internet Informationssysteme GmbH
Your ad here

supported by

 TYPO3 Hamburg
 TYPO3 Anbieter

Advertising

New feature for eval fields (Bug. 1266)

By: Thomas Hempel

22.07.05 21:03 Age: 3 yrs

Hello

Has anybody recognized the issue 1266 on the bugtracker?

If not, I've uploaded two patch files that adds the functionality to evaluate a field with double values entered.

I know there was an eval routine to do this, but that method was limited to 2 decimal places. The patch allows to evaluate a field with an unlimited number of decimal places simply by using "doubleN" as evaluation code. The "N" stands for the number of decimal places.

To evaluate an double value with 4 decimal places you have to enter "double4" at the eval field in the TCA. (Not to forget to change the SQL statement if it's needed.)

To be fair, I have to annotate that the patches where written by Stefan Fink (a colleague of mine) and not by me! ;-)

I hope that the patches will merged into the core so that it is part of TYPO3 Version 4.0.

 

Greets and have a nice weekend,

Thomas

Leave a Reply

You have to activate JavaScript to post comments!

Calendar

July 2005
M T W T F S S
« Jun   Aug »
 123
04050678910
11121314151617
18192021222324
25262728293031

Latest comments

  • Thomas

    Hi, check out http://forge.typo3.org/wiki/flow3-f3pr/php53. I think I have to check my encodin...

  • Tschüge

    Hallo Könntest du in einem (mini-)Tutorial kurz erkären wie du unter Linux die PHP-Version 5.3alpha...

  • Jens

    A Network functionality! I think, tt_clap events are mainly driven by the crowed spirit. So I wo...

  • Steffen M?ller

    Hi Thomas, When I started to work today, I felt soooo tired of hacking boring PHP code for a bori...

  • Thomas Hempel

    Hello, thanks for your comments. I did some testing concerning audio on iPhone and I can say that...

Advertising