How are you accessing the uidNumber?
$u = Get-ADUser -Identity xxx -property uidNumber
PS C:\Junk> $u.uidnumber.gettype()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True Int32 System.ValueType
PS C:\Junk> $u.uidNumber
43114