Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8748751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:34:50+00:00 2026-06-13T12:34:50+00:00

I have an application which contains the line below to assign a parsed XML

  • 0

I have an application which contains the line below to assign a parsed XML value to a variant array.

V(2) = latNode.Text * 1

This works fine on my system (Windows 7, Excel 2010) but doesn’t work on some other system or systems – and I’ve not been able to get a response from the user who reported the problem.

I’ve switched out the offending line for:

V(2) = CDbl(latNode.Text)

This still works on my system, but then I had no problem in the first place. The question is on what systems does the first approach fail and why, and will the second method always work? I’m sure I’ve used the “String * 1” trick elsewhere before and would like to know how concerned I should be about tracking down other occurrences.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:34:51+00:00Added an answer on June 13, 2026 at 12:34 pm

    Maybe it’s related to thousands separator and decimal mark. Office VBA uses cultural settings even in CDbl, in my German Excel version, it’s reversed compared to English, CDbl("123.4") is parsed to 1234, CDbl("123,4") to 123.4.

    Val(x) will always parse the dot as decimal mark.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a user control in my wp7 application which contains two text boxes
In a C# desktop application, I have a customer widget which contains a text
I have a web application which contains both secure (SSL) and non-secure pages. A
I have a winform application which contains a window resizable but one requirement is
I have my main application delegate which contains a method that returns an object.
A simple question. I have an ASP.NET web application which contains several assemblies and
In my console application have an abstract Factory class Listener which contains code for
For our Kunagi Java web application we have a signed kunagi.jar file which contains
I have a scroll viewer in my application that contains a canvas, in which
I have a simple MVVM application. It contains a property, which I will change

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.