Getting a custom post’s custom field based on another custom post’s custom field select

Could it be that:

<?php get_post_meta($office_id, "latitude", true); ?>

Should be

<?php echo get_post_meta($office_id, "latitude", true); ?>

AKA a missing echo statement?