Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import javax.xml.bind.DatatypeConverter;

public class Main {
    /**
     * Converts Double into XML-Tag with type xsd:float
     */
    public static String getXMLDouble(final Double value) {
        return DatatypeConverter.printDouble(value);
    }
}