nvault_get() needs to be used carefully. If you want to retrieve data and know when the key did or did not exist, use nvault_lookup().
Example: nvault_get() will return 0 when it found the key and the value is 0 and it will do the same if no key is found at all. Its useful because you can read directly into an integer or float variable but you need to know what you're doing when coding.