Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 23rd, 2005, 01:00 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB Numbers

i am fairly new to Visual basic and i am curently using it in a project for ict. I have desided to also create a till like system.

Here is my problem,

I have many VB buttons on my till system each relevent to a single item of stock. what i want is for when i click on a button it adds a set amount to a textbox and that keeps a runing tally if i press another button, e.g. press buton 1 and it adds 0.6 to textbox1 and then i clik buton 2 and it adds 4 to textbox1, then textbox1 wud equal 4.6
i have tried such things as "textbox1 = textbox1 + 0.6" but sadly it doesnt work. i wud be greatly releived if sumone cud email me with an answer as this is the only prolem i have left in my coursework.

 
Old January 24th, 2005, 06:05 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

No real idea what this has to do with XSLT. Perhaps you need to convert textbox values to numbers before adding though.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting numbers in vb.net mallikalapati .NET Framework 2.0 3 February 20th, 2008 07:29 AM
Sequential Numbers ricespn SQL Server 2000 14 November 1st, 2006 12:08 PM
HOW TO COMPARE NUMBERS IN VB, PLEASE HELP chasey1 Beginning VB 6 1 June 24th, 2006 09:52 AM
Formatting numbers keso VB.NET 3 April 6th, 2006 04:42 AM
Random Numbers welshboy2005 C# 1 May 19th, 2005 06:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.