You are here: convert 16-byte hex "string" to dec in php « PHP Programming Language « IT news, forums, messages
convert 16-byte hex "string" to dec in php

Posted by Sergei Shelukhin on 04/08/07 18:53

Hi.
I have a string, 16 bytes long, representing a hex number.
I need to convert it to a number and put it into pgsql database; it
complicates the matters further cause pgsql doesn't support unsigned;
thus I have to subtract "magic" number (half the bigint range) from
the conversion result to put it into pgsql.

Is there any way to achieve this?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация