HI
i m using the kvs on my main to put this value
my idsocial as string
idsocial = 112847041627280480255
kv.Initialize(fp, "data")
kv.PutSimple("idsocial",idsocial)
The problem is that the value 12847041627280480255 is interpreted in the log-command as an NUMBER which is too big so you get the result of 1.12847e+20
you dont need the c at the end... Try using putOBJECT to write this value OR create a string first and then read the value to this this string before you use log.
B4X:
idsocial = 112847041627280480255
kv.Initialize(fp, "data")
kv.PutSimple("idsocial",idsocial)
dim idsocial2 as string
idsocial2 = kv.GetSimple("idsocial")
' ^^^^ In your code you have read the value with
' kv.GetSimple("redesocial") (probalby an other
' value which you expected.
log(idsocial2)