• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Textfield with decimal numbers

Contributor ,
Dec 31, 2011 Dec 31, 2011

Copy link to clipboard

Copied

Hi

tf.text =String(5);   What if my number is 5.6 or 5:44     I am working with time. How can I do it ?

TOPICS
ActionScript

Views

691

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 31, 2011 Dec 31, 2011

5:44 is not a normal Number format, so how do you acquire the 5:44?  If you are using the Date class, then you would just marry the different portions of hour and minute values into a String value.

Votes

Translate

Translate
Contributor ,
Dec 31, 2011 Dec 31, 2011

Copy link to clipboard

Copied

Sorry, I can do the decimal. What about 5: 44

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 31, 2011 Dec 31, 2011

Copy link to clipboard

Copied

LATEST

5:44 is not a normal Number format, so how do you acquire the 5:44?  If you are using the Date class, then you would just marry the different portions of hour and minute values into a String value.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines