From: <jac...@us...> - 2013-03-26 00:55:42
|
Revision: 3098 http://openlcb.svn.sourceforge.net/openlcb/?rev=3098&view=rev Author: jacobsen Date: 2013-03-26 00:55:29 +0000 (Tue, 26 Mar 2013) Log Message: ----------- hexadecimal numbers Modified Paths: -------------- trunk/web/viewuid.php Modified: trunk/web/viewuid.php =================================================================== --- trunk/web/viewuid.php 2013-03-25 23:56:44 UTC (rev 3097) +++ trunk/web/viewuid.php 2013-03-26 00:55:29 UTC (rev 3098) @@ -16,6 +16,7 @@ <h1>View OpenLCB Unique ID Ranges</h1> This page shows the ranges of OpenLCB Unique ID's that have been assigned to date. +The numbers below are in hexadecimal. <P> For more information on OpenLCB, please see the <a href="../documents/index.html">documentation page</a>. For more information on OpenLCB unique ID assignment, please see the current draft @@ -32,7 +33,7 @@ function value($result, $j, $index) { if (255 == mysql_result($result,$j,"uniqueid_byte".$index."_mask")) return "*"; - else return mysql_result($result,$j,"uniqueid_byte".$index."_value"); + else return dechex( int mysql_result($result,$j,"uniqueid_byte".$index."_value")); } $query = "SELECT * FROM UniqueIDs LEFT JOIN Person USING (person_id) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |