OK lets assume I have
$value = '0.0005304';
I'm struggling to work out how I can remove all instances of 0 until another character is detected. So in the case above the end result would be 5304
I know I should show code working out however I'm unsure on how to do this so don't know where to start looking.
Any help would be appreciated
** Added ** The 2 numbers are stock market prices , open & close basically I want to deduct the open from the close
this value will be the difference between the 2 example open = 1.23456 close = 1.23446 is a difference of -0.00010 I would want this represented as -10 points
Hope this explains more
.0005304