Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Stripping decimal places


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 11-14-2007, 08:57 AM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 40
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Rioven,
Thank for this infos
I have updated my code with the use StrIndexOf(org,".",0) command
and i also used it to seach for "." presence.
Updated code attached

Thank you
Friedrich
Attached Files
File Type: sbp Decimal stripper 1v1.sbp (2.4 KB, 5 views)
Reply With Quote
  #12 (permalink)  
Old 11-14-2007, 01:17 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 812
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Hello Friedrich

I agree with Rioven.

You can also replace the line
cut=StrInsert(cut,StrLength(cut),"0") 'add zeros
by
cut=cut&"0"

because the zeros are at the end

Klaus Switzerland
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary, Octal, Decimal, Hex converter app agraham Share Your Creations 2 02-20-2008 05:07 PM
B4PPC and decimal comma Scubaticus Questions & Help Needed 12 07-03-2007 04:21 PM


All times are GMT. The time now is 01:27 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0