How to catch integer from Text?

bangswitbangswit Member Posts: 265
hi all , How to catch integer from Text?
for example if i have data ' 9.0000' then it means 9
and if i have data ' ' it means 0
thanks

Comments

  • pduckpduck Member Posts: 147
    Try EVALUATE() but to get 9 out of 9.000 it depends on your machines local settings if "." ist definied as decimal sign. If not you need to program a parse loop.
  • bangswitbangswit Member Posts: 265
    the problem is.... how to ignore spaces...??
  • vijay_gvijay_g Member Posts: 884
    Have you tried with string functions?
  • bangswitbangswit Member Posts: 265
    vijay_g wrote:
    Have you tried with string functions?

    how to do that?
  • navuser1navuser1 Member Posts: 1,329
    bangswit wrote:
    vijay_g wrote:
    Have you tried with string functions?

    how to do that?


    Dear bangswit,

    What will be the integer value of the text 9.876 ??
    Now or Never
  • bangswitbangswit Member Posts: 265
    navuser1 wrote:
    bangswit wrote:
    vijay_g wrote:
    Have you tried with string functions?

    how to do that?


    Dear bangswit,

    What will be the integer value of the text 9.876 ??

    done already...
    i change to decimal
    so using delchr
Sign In or Register to comment.