Replace a null or empty string with other values using condtional Statment

but i am pretty sure that you can nest conditional statements… though i cannot get a reference for you now…
i have seen a structure like this:

pv0 != "" &&  pv0!=null? pv0:
                 pa=="Length"?"0.00":"NA";

i guess it makes it more readable, but it is only 2 conditions so i did not bother with that.
how would you have written it?