frameworker

February 14, 2008

OpenFormula INT function considered harmful

Filed under: Uncategorized — frameworker @ 9:53 pm

Three of the 109+ OpenFormula Functions are ROUND, TRUNC and INT. INT is defined as TRUNC if the argument is non-negative; but if the argument is negative INT is defined as TRUNC – 1 if (arg != TRUNC(arg)). This doesn’t make sense to me, and feels like a booby-trap waiting for its next victim.

Tags:
OpenFormula
109 Functions
INT function
considered harmful
32 Flavors
Ani DiFranco

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: