Hi guys, i just want to ask what is the congruent function in php which acts like CDec() in Visual Basic 6.0? Is it the round() or round off?? same with the data types Single and Currency in VB6.0..

Visual Basic 6.0 PHP 5\
Single (data type) __________________
Currency (data type) __________________
CDec() (function) __________________

Please help..thanks ^_^

Member Avatar for diafol

Perhaps: http://uk3.php.net/manual/en/function.hexdec.php

If not, something similar. Haven't used VB for over 10 years. Is it still out there, I mean, like IE6? Why the hell do MS products linger like a bad smell?

try to see.

bin2hex()
bindec()
hexdec()
ceil()

number_format()

base_convert()

okei sirs. i got it already..tnx tnx..^^

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.