Forum General

Cast zero one strings to Boolean

JassimRahmaJassimRahma USMember ✭✭✭✭
edited September 2020 in General

Hi,

I am getting my json result from MySQL and storing it into SecureStorage but because SecureStorage value is string my 0 & 1 is stored as string two

So how can I later do:

if (Convert.ToBoolean(App.getUserInfo("EAIsMember")) == true)
{
       ........
}

Thanks,
Jassim

Answers

Sign In or Register to comment.