Formatting a double to output
Hi,
I am looking for some help to format the output of this test app
the objective of this program is to work out the demonations of money required
to pay out a withdrawl.
The results seem to be what I want thanks to some help on this forum last week
only as I am using a double the output is printing wrong.
for example
amount 173 / 50 = 3.43
so there are three $50's in 173
the remainder is 23
so
23 / 20 = 1.15
so there is three $20 in 23
the remainder is 3
etc
I am happy that it is working out the right number of demonations required
but I cannot sort out the output.
Here is the code
package Exer2;
public class Exer3
{ // start class
public static void main(String args[])
{ // start main
double oldBal = 9526;
double newBal;
double withDraw = 173; // amount withdrawn
double remainder = 0;
double balance = 0;
// Set up the arrays and dim to 11
double [] arrayFive = new double [11];
double [] arrayPound = new double [11];
arrayFive [0] = 50;
arrayFive [1] = 20;
arrayFive [2] = 10;
arrayFive [3] = 5;
arrayFive [4] = 2;
arrayFive [5] = 1;
arrayFive [6] = 050;
arrayFive [7] = 020;
arrayFive [8] = 020;
arrayFive [9] = 005;
arrayFive [10] =001;
// Objective is to work out how many 50's , 20's 10's etc are required
// to pay out the withdrawl figure above
System.out.println("Amount Withdrawn : " + withDraw);
System.out.println("");
while ( withDraw > 0 )
{ // Start while loop
for ( int i = 0; i < 11; i++)
{ // start for loop
if (withDraw > 0 )
{ // start if statement
arrayPound = withDraw / arrayFive [i];
remainder = withDraw % arrayFive [i];
//System.out.println(" First print arrayPound [i] " + arrayPound [i]);
balance = arrayPound [i] * arrayFive [i];
withDraw = withDraw - balance;
withDraw = remainder;
//System.out.println(" Third print Arrayfive [i] " + arrayFive [i]);
//System.out.println(" Fourth print withdraw " + withDraw);
System.out.println("The Number of " + arrayFive [i] + " Pounds/coins is : " + arrayPound [i]);
System.out.println("");
System.out.println("Remainder : " + remainder );
System.out.println("");
} //end if statement
//else Do not need an else for this
//{ // start else
//System.out.println("Exiting....");
//System.exit(0);
//continue;
//return;
//break;
//} // end else
} // end for loop
} // end while loop
} // end main
} // end class
Here is the output
Amount Withdrawn : 173.0
The Number of 50.0 Pounds/coins is : 3.46
Remainder : 23.0
The Number of 20.0 Pounds/coins is : 1.15
Remainder : 3.0
The Number of 10.0 Pounds/coins is : 0.3
Remainder : 3.0
The Number of 5.0 Pounds/coins is : 0.6
Remainder : 3.0
The Number of 2.0 Pounds/coins is : 1.5
Remainder : 1.0
The Number of 1.0 Pounds/coins is : 1.0
Remainder : 0.0
Can anyone help me to format this output correctly so its like
The Number of 50.0 Pounds/coins is : 3
I'm sure there is a cleaner/better way to do this so any comments would be appreciated
Thanks
DF
If you don't want to use DecimalFormat, try casting to an int...
System.out.println("The Number of "
+ arrayFive[i]
+ " Pounds/coins is : "
+ (int) arrayPound);
Similar Messages
-
How can I format the double value?
Hi,
I am trying to format the double variable as like,
double var = 1234.56789
but i want that variable as like var = 1234.56
How can i do that in java?
Please help me.
From
Parshuram WalunjkarTry something like the following, assume the variable 'd' underneath is your double value that you want to format.
double d = 4.45678;
NumberFormat nf = NumberFormat.getNumberInstance();
nf.setMaximumFractionDigits(5);
nf.setMinimumFractionDigits(5);
String number = nf.format(d);
Then use the string "number" for printing out. -
Date format should be YYYYMMDDhhmmss (Output sy-zonlo) format
I am giving date 06/26/2009 format, but i want output in "YYYYMMDDhhmmss" format. is there any FM for this
Convert date to timestamp : [CONVERT DATE |http://help.sap.com/abapdocu/en/ABAPCONVERT_DATE_TIME-STAMP.htm]
There are FM like FRE_CONVERT_DATE_TO_TIMESTMP that use this statement, but better use the statement.
Regards,
Raymond -
Hello,
I have a problem with formatting a double.
Suppose we have a double:
double x = 25.665478962
I want to round this to a double with 2 decimals:
thus: x has to be 25.67
How can I do this???
Thanks,
DanielHi Daniel,
Do you know about the classes "java.text.DecimalFormat" and "java.lang.Math"? Are they not suitable for you? Have you seen this:
http://java.sun.com/docs/books/tutorial/java/data/numbers.html
Hope this helps you.
Good Luck,
Avi. -
"Crash in progress" Error when I click "Format Options" under "Audio Output"
In the Render Queue, I selected Custom under "Output Module". I changed the Format to "QuickTime Movie" using the JPEG - Photo codec (is it a codec?) However when I clicked on "Format Options" under "Audio Output", I got this.
There are two things here. The first and most important part is that, if there's a button, it shouldn't crash when pressing it. Agreed. Looks like a QT-related issue (if reverting to an earlier version of QT will fix it). But in any case, please feel free to file a bug report explaining the problem here.
The second thing would also be true if the button worked flawlessly: If you want to send to a client a video/audio file with reduced file sizes, bear in mind that Quicktime has not added a specific codec for this purpose since the early 2000s. They chose to follow the standards-based MPEG-4/H264 format. After Effects will make much better H264 files with compressed audio as well, if you pick "H264" as a format in the Output Module. An H264 file with MP4 extension will play perfectly on both Quicktime and the latest version of Flash. An H264 file with MOV extension should have the same quality (but not when done from AE), and it will only be compatible with Quicktime. They are otherwise identical.
Again, nothing in point 2 contradicts the fact that it shouldn't crash. -
Setting cell format in BW BEX output
HI ,
Can we control the FORMAT of the cell output in BEX query?
Example, i run Sales Query in BEX , and its displayed in excel format. Can we make sure the value displayed ,.eg Orders and Values are of 'NUMBER' format? This will help us to do any other manual changes to the column to NUMBER format instead of text.
Appreciate input from anyone...
Thank you.
Regards,
Mailihi Maili,
While creating formula variable it will have different tabs in the pop up, please set the below settings in different tabs:
General Tab:
Processing by: Replacement path
Reference Char: Sales order
Replacement path tab:
Replace variable with: Infoobject
Replace with: Key
Curreny/Unit tab:
Dimension: Number
The above formula variable will return the value of Sales order as number, use this in formula or CKF.
The numbers in SAP are by default shown with , or . depending upon the user setting.
The number 10000 will either be shown 10,000 or 10.000 in the bex report as per the user setting in tcode SU01.
If you are using . for showing decimals in the number then , will be used after 3 digits i.e. 10,000.00 and if you are using , as decimal notation then it shows as 10.000,00.
regards,
Arvind. -
Formatting a Double to 2 decimal places without first converting to String
Hi,
Does anyone have any clear idea on how to format a Double directly without first converting it
to a String.I have just read through DecimalFormat/NumberFormat but I think there might be an easier way.I am also aware of printf(%f) and format(%f),but unfortunately am using Java 1.4 at the moment which does not seem to support them(will upgrade soon).The code I have is as follows:
public void displayAnalysis ()
System.out.println ("========================================================================");
System.out.println ("========================================================================");
System.out.println ("\nANALYSIS RESULTS FOR FILE " + inputFile + " \n");
System.out.println ("========================================================================");
System.out.println ("========================================================================");
System.out.println ("\nString length: "+ inputText.length());
System.out.println ("Ratio of printing to non-printing characters: "+ pRatio);
System.out.println ("Ratio of vowels to consonants: "+ vRatio);
System.out.println ("");
System.out.println ("Frequency of vowels as a percentage of number of printing characters;");
System.out.println ("Percentage of a's ="+ (NumberFormat.format(new DecimalFormat(((double)frequency[0]*100)/printable)))));
System.out.println ("Percentage of e's ="+ ((double)frequency[1]*100)/printable + "%");
System.out.println ("Percentage of i's ="+ ((double)frequency[2]*100)/printable + "%");
System.out.println ("Percentage of o's ="+ ((double)frequency[3]*100)/printable + "%");
System.out.println ("Percentage of u's ="+ ((double)frequency[4]*100)/printable + "%");
System.out.println ("Number of whitespace characters were " + whitespace);
System.out.println ("");
System.out.println ("========================================================================");
System.out.println ("========================================================================");
System.out.println ("");
System.out.println ("");
}I would like to display the frequencies to 2 decimal places.As a last resort I will have to alter the code to use DecimalFormat,but I'm hoping someone has a simpler solution.Oops,please ignore the line for the first frequency (a's),I was just playing around with trying to use NumberFormat!
-
Formatting a Double to a String for Swing output
Hi, I'm new to Java and I'm working on a project with AWT & Swing. I'm trying to read in a user entered number, convert it to a double, work on it and then output the String value of the result with only two decimal places. The code I have is:
public void actionPerformed(ActionEvent e)
double result = 99;
double temp;
DecimalFormat newTemp = new DecimalFormat("#,###.00");
if (e.getSource() == bConvert1)
temp = (Double.parseDouble(tTemp1.getText().trim()));
result = (temp*1.8)+32;
newTemp.format(result);
tResult1.setText(String.valueOf(result));
else if (e.getSource() == bConvert2)
temp = (Double.parseDouble(tTemp2.getText().trim()));
result = (5.0/9)*(temp-32);
newTemp.format(result);
tResult2.setText(String.valueOf(result));
This is working for some values, but for some values entered, the result displayed is just the remainder.The reason it doesn't always work could be because DecimalFormat (for reasons known only to Sun) uses ROUND_HALF_EVEN...
This means that you will have to round the value to the number of decimal places you require before calling format()
I use something like the following formatter class
class Formatter {
public static final int DEFAULT_PRECISION = 2;
public static final String DEFAULT_PATTERN = "#.00";
public static final String ZEROS = "0000000000000000";
public static String convertDoubleToString(Double d) {
return convertDoubleToString(round(d, DEFAULT_PRECISION), DEFAULT_PATTERN);
public static String convertDoubleToString(double d) {
return convertDoubleToString(round(d, DEFAULT_PRECISION), DEFAULT_PATTERN);
public static String convertDoubleToString(Double d, int precision) {
return convertDoubleToString(round(d, precision), "#." + ZEROS.substring(precision));
public static String convertDoubleToString(double d, int precision) {
return convertDoubleToString(round(d, precision), "#." + ZEROS.substring(precision));
public static String convertDoubleToString(Double d, String pattern) {
return new DecimalFormat(pattern).format(d.doubleValue());
public static String convertDoubleToString(double d, String pattern) {
return new DecimalFormat(pattern).format(d);
private static final double round(Double d, int precision) {
double factor = Math.pow(10, precision);
return Math.round((d.doubleValue() * factor)) / factor;
private static final double round(double d, int precision) {
double factor = Math.pow(10, precision);
return Math.round((d * factor)) / factor;
} -
Hi all,
can anyone teach me how to format the output of a double data type in the console?
let's say i have:
double myNum = 1.234567890123;if i want only four digits after the decimal point (ex. 1.2345), how am i supposed to do it?
thanx a lot!i mean, how do i convert it from 10 digits to the
right of the decimal point to become only four?
when i was learning C, we simply put:
printf("The number is: %2.4f"+myNum);
is there any similar way on how doing it? because i
have a lot of double number to be printed out, and if
i dont limit the format, my screen was flooded!
thanx a lot!And the DecimalFormat class does that for you. Look at the following:
DecimalFormat myFormatter = new DecimalFormat( "###.####" );
String output = myFormatter.format(value);
System.out.println("Without formatting, value == " + value + ", with formatting, value == " + output);� {� -
How to enter a transaction by double-clicking output ?
I have an itab with fields vbeln etc etc.
I have a simple list on the output table based on this itab. Now if the user double clicks on this list, he/she should be able to enter VA02 transaction after which if he/she makes changes and save, he/she should be able to come back to the output screen.
Can you please tell me where should I modify reg. this?
Thanks a lot.Hi
Try this
DATA: BEGIN OF ITAB OCCURS 0,
VBELN TYPE VBELN,
MATNR TYPE MATNR,
NETWR TYPE NETWR,
END OF ITAB.
START-OF-SELECTION.
PERFORM ACTION.
AT LINE-SELECTION.
SET PARAMETER ID 'AUN' FIELD ITAB-VBELN.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
*& Form action
text
FORM ACTION.
IF NOT ITAB[] IS INITIAL.
LOOP AT ITAB.
FORMAT HOTSPOT ON.
WRITE: AT /10 ITAB-VBELN,
ITAB-MATNR,
39 ITAB-NETWR.
HIDE ITAB-MATNR.
FORMAT HOTSPOT OFF.
AT LAST.
SUM.
WRITE: /39 ITAB-MATNR.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM. "ACTION
Max -
How to format a double to a certain precision?
Hi,
I have a variable of type 'double' and it's set to something like 2.3934583729. I was trying to print the double out to some standard system output with 2 decimal place, formatted precision, "2.39". It seems to me that there is no function like printf(".2f", var) in C/C++ that does the trick. Or am I overlooking something?
Any help would be greatly appreciated. Thanks.
AaronYes you are over looking something.
Check this out...
import java.text.*;
public class TwoDigits
public static final void main(String[] args) throws Exception
double aDouble = 2.3934583729;
DecimalFormat formatter = new DecimalFormat("#.00");
System.out.println(" aDouble : " + formatter.format(aDouble)); -
Help with formatting parameters in html output?
Hi --
I would like to use a style sheet to adjust the way that javadoc displays lists of parameters below each method. In the HTML output, the code around the parameter name and description looks like this:
<dd><code>filterContainers</code> - True if the containers within the database
are to be considered individually during task assignment; false if the entire database is to be assigned as a single task.
</dd>
I apologize if this is basic CSS question, but I don't understand how to change the way 'filterContainers' is formatted -- maybe make it italic or something. I was also hoping to increase the padding below each parameter name/description because they seem to squished together.
Any help is greatly appreciated.
JenAdd this to stylesheet.css to make "filterContainers" italic:
dl dd dl dd code {
font-style: italic;
}This adds space below lines inside dd
dl dd dl dd {
padding-bottom: 3px;
}(You could change it to padding-top to add the space above instead.)
The sequence "dl dd dl dd code" is the nested hierarchy of HTML tags relative to body.
Here are the CSS elements defined above: (CSS 2.0)
http://www.w3.org/TR/2005/WD-CSS21-20050613/propidx.html -
[Forum FAQ] How to format and combine PowerShell outputs
Format the output with “Format-Table” and “Format-list”
Sometimes when we query Powershell cmdlet, we would get ellipses in the result, which is not desirable.
In this scenario, we can use the cmdlet “Format-Table” and “Format-list” to view the entire output:
Get-Service | where{$_.name -like "BrokerInfrastr*"}
Get-Service | where{$_.name -like "BrokerInfrastr*"}|Format-Table –AutoSize
Get-Service | where{$_.name -like "BrokerInfrastr*"}|Format-list
Figure 1: format powershell output
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks, this has been helpful. I have been trying to figure out how the PSObjects work.
I created a function that takes an object and creates a function to create PSObjects
Function Get-ObjectPropertiesFunction
[CmdletBinding()]
[OutputType([string])]
param
[Parameter(Mandatory=$true,
ValueFromPipeline=$false,
ValueFromPipelineByPropertyName=$false,
ValueFromRemainingArguments=$false,
Position=0,
ParameterSetName='Object')]
[ValidateNotNull()]
[ValidateNotNullOrEmpty()]
[Object]$Object
Begin
$Members=Get-Member -InputObject $Object
$ValidPropertyType = @{"{get;set;}"=$True;"{get;}"=$True;}
$ValidReturnType = @{"bool"=$True;"byte"=$True;"string"=$True;"string[]"=$True;
"int"=$True;"int16"=$True;"int32"=$True;"int64"=$True;
"uint"=$True;"uint16"=$True;"uint32"=$True;"uint64"=$True;
[string]$String=""
$String=$String+"Function Get-PSObjectPropertiesFromObject `n"
$String=$String+"{ `n"
$String=$String+" [CmdletBinding()] `n"
$String=$String+" [OutputType([PSObject[]])] `n"
$String=$String+" param `n"
$String=$String+" ( `n"
$String=$String+" [Parameter(Mandatory="+"$"+"true, `n"
$String=$String+" ValueFromPipeline="+"$"+"false, `n"
$String=$String+" ValueFromPipelineByPropertyName="+"$"+"false, `n"
$String=$String+" ValueFromRemainingArguments="+"$"+"false, `n"
$String=$String+" Position=0, `n"
$String=$String+" ParameterSetName='Object')] `n"
$String=$String+" [ValidateNotNull()] `n"
$String=$String+" [ValidateNotNullOrEmpty()] `n"
$String=$String+" [Object]"+"$"+"Object `n"
$String=$String+" ) `n"
$String=$String+" Begin `n"
$String=$String+" { `n"
$String=$String+" $"+"Output = New-Object PSObject -Property ([Ordered]@{ `n"
ForEach ($Member in $Members)
IF ($Member.MemberType -EQ "Property")
[string]$Name=$Member.Name
IF ($Name.Substring(1,1) -NE "_")
[String[]]$Definition=$Member.Definition.Split(" ")
[string]$PropertyType=$Definition[2]
IF ($ValidPropertyType[$PropertyType])
$ReturnType=$Definition[0]
if ($ValidReturnType[$ReturnType])
$String=$String+" $Name="+"$"+"Object.$Name `n"
$String=$String+" }) `n"
$String=$String+" $"+"Output `n"
$String=$String+" } `n"
$String=$String+"} `n"
$String
Here is the output from the above function for the WIN32_BootConfiguration class (Small Class)
$Class="Win32_BootConfiguration"
$Function=Get-ObjectPropertiesFunction (Get-WMIObject -Class $Class)
PS C:\>> $Function
Function Get-PSObjectPropertiesFromObject
[CmdletBinding()]
[OutputType([PSObject[]])]
param
[Parameter(Mandatory=$true,
ValueFromPipeline=$false,
ValueFromPipelineByPropertyName=$false,
ValueFromRemainingArguments=$false,
Position=0,
ParameterSetName='Object')]
[ValidateNotNull()]
[ValidateNotNullOrEmpty()]
[Object]$Object
Begin
$Output = New-Object PSObject -Property ([Ordered]@{
BootDirectory=$Object.BootDirectory
Caption=$Object.Caption
ConfigurationPath=$Object.ConfigurationPath
Description=$Object.Description
LastDrive=$Object.LastDrive
Name=$Object.Name
ScratchDirectory=$Object.ScratchDirectory
SettingID=$Object.SettingID
TempDirectory=$Object.TempDirectory
$Output
PS C:\>>
The function also works for other and more interesting classes like SQL Server.
PS C:\>>
$srv = New-Object Microsoft.SqlServer.Management.Smo.Server("(local)")
$db = New-Object Microsoft.SqlServer.Management.Smo.Database($srv, "AdventureWorks2012")
$Function=Get-ObjectPropertiesFunction $db
$Function
Function Get-PSObjectPropertiesFromObject
[CmdletBinding()]
[OutputType([PSObject[]])]
param
[Parameter(Mandatory=$true,
ValueFromPipeline=$false,
ValueFromPipelineByPropertyName=$false,
ValueFromRemainingArguments=$false,
Position=0,
ParameterSetName='Object')]
[ValidateNotNull()]
[ValidateNotNullOrEmpty()]
[Object]$Object
Begin
$Output = New-Object PSObject -Property ([Ordered]@{
ActiveConnections=$Object.ActiveConnections
AnsiNullDefault=$Object.AnsiNullDefault
AnsiNullsEnabled=$Object.AnsiNullsEnabled
AnsiPaddingEnabled=$Object.AnsiPaddingEnabled
AnsiWarningsEnabled=$Object.AnsiWarningsEnabled
ArithmeticAbortEnabled=$Object.ArithmeticAbortEnabled
AutoClose=$Object.AutoClose
AutoCreateStatisticsEnabled=$Object.AutoCreateStatisticsEnabled
AutoShrink=$Object.AutoShrink
AutoUpdateStatisticsAsync=$Object.AutoUpdateStatisticsAsync
AutoUpdateStatisticsEnabled=$Object.AutoUpdateStatisticsEnabled
AvailabilityGroupName=$Object.AvailabilityGroupName
BrokerEnabled=$Object.BrokerEnabled
CaseSensitive=$Object.CaseSensitive
ChangeTrackingAutoCleanUp=$Object.ChangeTrackingAutoCleanUp
ChangeTrackingEnabled=$Object.ChangeTrackingEnabled
ChangeTrackingRetentionPeriod=$Object.ChangeTrackingRetentionPeriod
CloseCursorsOnCommitEnabled=$Object.CloseCursorsOnCommitEnabled
Collation=$Object.Collation
ConcatenateNullYieldsNull=$Object.ConcatenateNullYieldsNull
DatabaseOwnershipChaining=$Object.DatabaseOwnershipChaining
DatabaseSnapshotBaseName=$Object.DatabaseSnapshotBaseName
DateCorrelationOptimization=$Object.DateCorrelationOptimization
DboLogin=$Object.DboLogin
DefaultFileGroup=$Object.DefaultFileGroup
DefaultFileStreamFileGroup=$Object.DefaultFileStreamFileGroup
DefaultFullTextCatalog=$Object.DefaultFullTextCatalog
DefaultSchema=$Object.DefaultSchema
EncryptionEnabled=$Object.EncryptionEnabled
FilestreamDirectoryName=$Object.FilestreamDirectoryName
HonorBrokerPriority=$Object.HonorBrokerPriority
ID=$Object.ID
IsAccessible=$Object.IsAccessible
IsDatabaseSnapshot=$Object.IsDatabaseSnapshot
IsDatabaseSnapshotBase=$Object.IsDatabaseSnapshotBase
IsDbAccessAdmin=$Object.IsDbAccessAdmin
IsDbBackupOperator=$Object.IsDbBackupOperator
IsDbDatareader=$Object.IsDbDatareader
IsDbDatawriter=$Object.IsDbDatawriter
IsDbDdlAdmin=$Object.IsDbDdlAdmin
IsDbDenyDatareader=$Object.IsDbDenyDatareader
IsDbDenyDatawriter=$Object.IsDbDenyDatawriter
IsDbManager=$Object.IsDbManager
IsDbOwner=$Object.IsDbOwner
IsDbSecurityAdmin=$Object.IsDbSecurityAdmin
IsDesignMode=$Object.IsDesignMode
IsFederationMember=$Object.IsFederationMember
IsFullTextEnabled=$Object.IsFullTextEnabled
IsLoginManager=$Object.IsLoginManager
IsMailHost=$Object.IsMailHost
IsManagementDataWarehouse=$Object.IsManagementDataWarehouse
IsMirroringEnabled=$Object.IsMirroringEnabled
IsParameterizationForced=$Object.IsParameterizationForced
IsReadCommittedSnapshotOn=$Object.IsReadCommittedSnapshotOn
IsSystemObject=$Object.IsSystemObject
IsUpdateable=$Object.IsUpdateable
IsVarDecimalStorageFormatEnabled=$Object.IsVarDecimalStorageFormatEnabled
LocalCursorsDefault=$Object.LocalCursorsDefault
MirroringPartner=$Object.MirroringPartner
MirroringPartnerInstance=$Object.MirroringPartnerInstance
MirroringRedoQueueMaxSize=$Object.MirroringRedoQueueMaxSize
MirroringRoleSequence=$Object.MirroringRoleSequence
MirroringSafetySequence=$Object.MirroringSafetySequence
MirroringTimeout=$Object.MirroringTimeout
MirroringWitness=$Object.MirroringWitness
Name=$Object.Name
NestedTriggersEnabled=$Object.NestedTriggersEnabled
NumericRoundAbortEnabled=$Object.NumericRoundAbortEnabled
Owner=$Object.Owner
PrimaryFilePath=$Object.PrimaryFilePath
QuotedIdentifiersEnabled=$Object.QuotedIdentifiersEnabled
ReadOnly=$Object.ReadOnly
RecursiveTriggersEnabled=$Object.RecursiveTriggersEnabled
TargetRecoveryTime=$Object.TargetRecoveryTime
TransformNoiseWords=$Object.TransformNoiseWords
Trustworthy=$Object.Trustworthy
TwoDigitYearCutoff=$Object.TwoDigitYearCutoff
UserName=$Object.UserName
Version=$Object.Version
$Output
PS C:\>> -
Hi, we basically have an on-line job application that we need to be sent to us via e-mail notification every time a user submits a response, not with the raw data output from the form fields like the current e-mail notification setting allows, but as an actual PDF attachment that mirrors the format of the on-line form, with the user response data in it. We need this to be automated and sent to a central HR e-mail to distro to others. It would be essentially the same thing as a user downloading a PDF form, filling it out, then e-mailing it back to us, but using the submit options via the Form Central server instead. Is this even possible and, if so, is there any documentation on it? I have not found anything clear in searching for this same topic.
No this is not possible within Formscentral. You could export a PDF without a submit button (an option when saving your form as PDF) and then in Acrobat add a submit button to your form and have it automatically sent to the email of your choice. This kind of workflow falls outside the scope of Formscentral.
Andrew -
XML reports show in XML format instead of Defult output PDF in R12
I am facing a problem in XML report in oracle R12 ,
when I am running the report ,it through warning msg and output is coming in XML format instead of PDF .
Please let me know the solution.
ZulqarnainI am facing a problem in XML report in oracle R12 ,
when I am running the report ,it through warning msg and output is coming in XML format instead of PDF .What is the warning message?
Please let me know the solution.Please check the OPP log file for any errors. Also, please post the contents of the concurrent request log file here.
https://forums.oracle.com/forums/search.jspa?threadID=&q=XML+AND+Output+AND+PDF&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein
Maybe you are looking for
-
Ubd.exe - Entry point not found error
On my Windows 7 machine, I just allowed Apple to download an update for the icloud functions. After a system restart, the computer displays the following message: "The procedure entry point_Block_object_assign could not be located in the dynamic li
-
Is a record ID field required for File Adapter (Header, Body, Trailer)?
Hi, File to File scenario. The sender file is a text file i.e. .txt which needs a conversion on the sender file adapter. There are three structures in the file namely header (one), body (many) and Trailer (one). From what I can see I need a record Id
-
Is it possible to delete a trip (travel expense)?
Hi, I have travel expense (trip) which has the status "settled/transferred to FI". However, due to something unforeseen, the trip had been settled, but was not transferred to FI. It is not visible in the vendor open items (FBL1N). A new trip has been
-
I want to get OnLive Desktop in Canada
So Onlive Desktop is only on the US app store so I can't get it. I heard that you can gift apps to other people so im wondering if it would work if someone from the US gifted me the app. I will tell the email if someone agrees to gift me the app
-
When trying to update and app, I get an error message
When I try to install it, a message appears saying there is a problem with a family members previous purchase Not sure what this means? Thanks for any input!