Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Bacteria Man #1
calculate hexadecimal range
Anyone have some syntax in Cold Fusion to calculate a hexadecimal color range?
I would like to display a list of numbers in a table with the background color
ranging from "hot" (red) to "cold" (blue). I don't want to hardcode the colors
because the low and high number range might vary slighty. Therefore the range
needs to be relative and dynamic.
This sort of thing would be a breeze in PHP (sorry, couldn't resist.)
Any input would be appreciated.
Bacteria Man Guest
-
#24909 [Fbk->Opn]: rand function with range always returns low value of range
ID: 24909 User updated by: a0 at hush dot com Reported By: a0 at hush dot com -Status: Feedback +Status: ... -
#24909 [Opn->Fbk]: rand function with range always returns low value of range
ID: 24909 Updated by: iliaa@php.net Reported By: a0 at hush dot com -Status: Open +Status: Feedback... -
#24909 [NEW]: rand function with range always returns low value of range
From: a0 at hush dot com Operating system: solaris 8 PHP version: 4.3.2 PHP Bug Type: Math related Bug description: rand... -
Hexadecimal to Decimal conversion
Hi You may want to check out the information from this thread in the archives http://tinyurl.com/geyf John "news"... -
Decimal to Hexadecimal Conversion
Do the opposite conversion that was posted to your earlier question... convert to varbinary or binary.. -- Wayne Snyder MCDBA, SQL Server MVP... -
mxstu #2
Re: calculate hexadecimal range
Might be something in the [url]http://www.cflib.org[/url]
mxstu Guest
-
Bacteria Man #3
Re: calculate hexadecimal range
I forgot about cflib. Sure enough, there are several things. Thanks!
Bacteria Man Guest
-
mxstu #4
Re: calculate hexadecimal range
You're welcome. Now come on... wasn't downloading a UDF easier than PHP ? ;-)
mxstu Guest



Reply With Quote

