Automatic fractions?
Hello! I am using Pages 5.2 (and Mavericks). Is there a way to get automatic fractions (e.g., when I type 1/2 it automatically turns into the special character with the 1 over the 2)? I know how to add a fraction as a special character, but is there a way to get Pages to just do this by itself? Thank you!!
- BH
This is all handled in OSX:
Menu > Apple > System Preferences > Keyboard > Text > Replace/With
It is doing it on my System for all the fractions from 1/8 to 7/8
Have you tried it on your System?
Type the fraction with a space after.
If you don't actually want the space, type it anyway and then delete it after the Auto-replacement is done.
Peter
Similar Messages
-
Automate fractions using a script.
Hi,
i was looking to automate the layout of fraction with a script.
The script has to change 1/200, 1/20, 1/33 to fractions:
When we do it manually, we insert an anchored textframe which contains a 2 row/1 column table.
We then copy the numbers in the cells.
I found the script below in a previous discussion.
But i get an error 30480 on line 14.
I'm a bit of a dummy when it comes to scripting, so can anyone tell me what's wrong with it?
var theDoc = app.activeDocument;
var myTableStyle = "tabelbreuk"; //MUST be set!!
var myCellStyle = "celbreuk"//MUST be set!!
var myObjectStyle = "TF-breuk"//MUST be set!!
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\d+/\\d+"; //should find all occurrences of number(s) + / + numbers(s)
var searchResults = theDoc.findGrep();
for(var i = searchResults.length -1; i >= 0; i--)
var foundFraction = searchResults[i];
var newTextFrame = foundFraction.insertionPoints[0].textFrames.add({geometricBounds: [0,0,foundFraction.leading, foundFraction.parentTextFrames[0].geometricBounds[3] - foundFraction.parentTextFrames[0].geometricBounds[1]], appliedObjectStyle:theDoc.objectStyles.itemByName(myObjectStyle)});
var tmpDest = foundFraction.move(LocationOptions.AT_BEGINNING, newTextFrame);
var fractionTable= tmpDest.convertToTable('\r', '/', 1);
fractionTable.appliedTableStyle = "tabelbreuk"
setTableWidth(fractionTable);
newTextFrame.fit(FitOptions.FRAME_TO_CONTENT);
function setTableWidth(fractionTable){
var widthArray = [];
var allCells = fractionTable.cells;
for(var c = 0; c < fractionTable.cells.length; c++){
var aCell = fractionTable.cells[c];
aCell.appliedCellStyle = "celbreuk"
widthArray.push((aCell.texts[0].endHorizontalOffset - aCell.texts[0].horizontalOffset) + aCell.leftInset + aCell.rightInset)
widthArray.sort(Numsort);
fractionTable.width = widthArray[widthArray.length-1]
function Numsort(a,b){return a - b}
thxHi Ariel,
thank you for your answer.
But the fractions made with the openType feature are not the kind of fraction we need.
Our fractions have to look like this:
I don't think this is possible by changing the opentype settings.
regards
Arne -
Automatic substitutions fractions in Pages 5
Hello all
Before Pages 5, fractions would automatically convert if you typed 1/2 or 3/4. However, this doesn't happen in the all new singing and dancing Pages 5.1 that I have and searching for it bears no answer.
Does anyone know why these automatic features have changed so much and where you can reinstate them. I have found the 'substitutions' dialogue box but you need to find the fraction to copy and paste. However in character view, fractions are missing!
Thanks for any ideasTo do this automatically it is really a two-step process.
1. Go to Character Viewer (special characters) as described above. Once you have selected digits you will have a choice of fractions to use. I put the ones I use most frequently in my favorites in the Special Character window.
2. To make this Automatic in Pages you need to then go to Edit > Substitutions and select Text Substitutions. Then go to Show Substitutions in the same window and select the text preferences button at the bottom left. In this window you select the + at the bottom and insert, for example, 1/2 in the Replace column. Then in the With column you select the appropriate fraction from your special character window and drag the substitution to the Replace column. Do this for all fractions you wish to automatically replace. -
Sometimes when I type fractions they remain full size, other times they automatically reduce to a smaller format. How do I control what my fraction looks like?
Fractions can be found as characters (glyphs) in Unicode fonts. You would need to set the auto-substitution in Pages' preferences to auto substitute to the correct Special characters in Unicode found in:
Menu > Edit > Special Characters…
Peter -
How to keep that valve open for certain period of time and shut off automatically
Hi everyone,
The objective of the VI is to measure pH and then open acid or base valve based on pH valve. Below is my UNFINISHED VI
My question is: if, for example, the pH is 10, then, the program will open acidic valve for 5 seconds and then shut off automatically. After that, wait for 5 second. this process will go on and on as I use while loop, but I just dont know how to control the valve on for 5sec and off and then wait for 5sec.
Anyone can help me out? Thank you very much
In the picture, please enter those values before running
P.S The VI is based on previously posted vi by someone who made it 1 yrs ago.
Attachments:
project_trial_1_26.vi 27 KB
Capture.JPG 79 KB1. The reason the valves close immediately is that the Elapsed Time VI does not cause any wait, it only measures the time. So the valves closed within a small fraction of a second of the time they opened.
2. I modified your VI to wait until the Elapsed Time has ended. See the "wait" state. I probably modified some of your other functionality in the process, but this shows one way you could do the timing.
3. You do not need any Value property nodes. They should never be used if the value can be wired directly.
4. You do not need any sequence structures. Dataflow will determine the order of things occurring.
5. If you use an enum for the state machine (and it is a good way to name and select states), you should make it a type def. Then when you need to change it as I did to add several states, you only need to change the Type Def in one place and the changes propagate through to every place you used the control or constants derived from it.
6. I added a Halt state which will close both valves before stopping the program. When you are controlling a real world process, it is important to consider the start up and shutdown requirements. For example the digital outputs of the USB-6008 default to inputs when the device is first powered up. And, the inputs are pulled high by a 4700 ohm resistor (at least I think I recall that value). Will this open your valves before the program starts running and sets the I/O lines to outputs and forces them low?
The USB-6008 has rather limited drive on the digital lines. You will probably need a buffer between it and the valve coils.
PID and PWM are more complicated than I want to get into here. First, are your valves proportional or on/off? Second, (assuming that they are on/off) how fast can you open and close them without destroying them in the first week? What is their expected lifetime in terms of the number of operations? How fast do you need to be able to change them to keep your pH where you want it? Are these values compatible?
Lynn
Attachments:
pH State.ctl 12 KB
project_trial_1_28.2.vi 66 KB -
How do I activate AUTOMATIC superscripting for numbers / dates; e.g. 1st, 2nd, 3rd, 4th, etc .... It used to do this in all PRE-5.0 versions of Pages; now, it is GONE from Pages 5.0, and I cannot find out where / how to activate it !!
Whilst I appreciate your responding - I do not think this helps with what I was enquiring (at least not without further explanations anyways).
I am aware of, and do use, the function - System Preferences > Keyboard > Text - for various replacements like (tm), (c), etc .... and also for fractions like 1/2, 1/4, 1/3.
However, my question was in relation to SUPERSCRIPTS for dates / numbers - namely, superscripting numerical suffixes for things like 1st, 2nd, 3rd, 4th,
So - please help - HOW do I set this up ? If indeed it is possible without System Preferences > Keyboard > Text ??? -
Automatic login to virtual console doesn't create a 'session'
I'm running an instance of Arch inside an LXC container. It's basically being used as a lightweight virtualisation approach, and so I have a wrapper program that spins up the instance, configures it, and drops the user in. As such, the user should be automatically logged in on boot.
I'm following the method listed at https://wiki.archlinux.org/index.php/Au … al_console and it works fine; however, it doesn't register a 'session' (as I understand it): loginctl shows nothing. This means I can't shut down the machine as a regular user.
I was previously starting a getty on /dev/console instead of at /dev/tty1, and this was correctly registering a session, but would hang as soon as you ran 'vi'. If vi was killed, the terminal size would shrink to a fraction of its existing size until fixed with 'reset'.
Solving either of these problems would be great, if anybody has any ideas! I have polkit (1.09) installed.As I say, loginctl gives no results:
SESSION UID USER SEAT
0 sessions listed.
systemctl list-units | grep polkit
also returns nothing, which I wasn't expecting. Some more detail...
$ systemctl status polkit
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: inactive (dead)
Docs: man:polkit(8)
I can manually start polkit, and then get:
# systemctl status polkit
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Mon 2013-04-15 09:15:20 UTC; 6s ago
Docs: man:polkit(8)
Main PID: 98 (polkitd)
CGroup: name=systemd:/system/polkit.service
└─98 /usr/lib/polkit-1/polkitd --no-debug
Though I also get these errors in the journalctl log:
Apr 15 09:15:20 archibald polkitd[98]: Loading rules from directory /etc/polkit-1/rules.d
Apr 15 09:15:20 archibald polkitd[98]: Error opening rules directory: Error opening directory '/etc/polkit-1/rules.d': Permission denied (g-file-error-quark, 2)
Apr 15 09:15:20 archibald polkitd[98]: Loading rules from directory /usr/share/polkit-1/rules.d
Apr 15 09:15:20 archibald polkitd[98]: Error opening rules directory: Error opening directory '/usr/share/polkit-1/rules.d': Permission denied (g-file-error-quark, 2)
Last edited by osymandias (2013-04-15 09:18:11) -
Use of backslash sign but not in fraction format
I have trouble formatting a cell so that a backslash sign does not read as a fraction. A cell formatted as "automatic" will return 88/97 when I type 88/97, but 1 9/88 if I type 97/88. I could not find the relevant instruction in the user guide.
parau wrote:
I have trouble formatting a cell so that a backslash sign does not read as a fraction. A cell formatted as "automatic" will return 88/97 when I type 88/97, but 1 9/88 if I type 97/88. I could not find the relevant instruction in the user guide.
Just a detail, the described character is not a backslash, *_it's a slash_*
Yvan KOENIG (VALLAURIS, France) dimanche 22 août 2010 20:48:13 -
IDCS6 - How do I create tables with large whole numbers and small fractions?
I have a lot of engineering data, dimensions, etc, to enter into an existing IDCS6 Table. I need whole numbers to display full size, but fractions to be small size. I know I can use Open Type and select the Fractions option for each individual fraction, but that would take forever and give me a roaring headache.
How do I create a style (or whatever) that will allow me to just type in the numbers and have them automatically apply small formatting to the fraction portion of the number whenever it sees a "/"?
Along a similar line, I was trying to copy table data from a PDF document from Acrobat X Pro and paste that into an IDCS6 table, so each cell is populated by the appropriate cell data from the PDF file, but didn't have any success. That would really save me a lot of time, because I have many complete tables in PDF format. The data is not protected in the PDF, but I'm having a hard time figuring out how to bring it over to IDCS6.
On a Mac, OSX 10.8.5.
Thanks,
LouThere are a number of ways to do it, but I make fractions using Dan Rodney's excellent (and free) Proper Fraction script. After it's installed; assign it a keyboard shortcut. Then type your numerator/denominator, select it, and invoke the script. With just a couple keystrokes, you've got a perfectly formatted fraction.
As for the PDF tables, I'd try exporting the host file to RTF and copy/pasting from there. In case you're unaware, to paste values into InDesign table cells, the number of (pre-existing), cells/rows/columns in InDesign must match those copied (from) exactly, and must be pre-selected when the Paste command is executed. So...
1. Set up empty destination table in InDesign which matches the source structure.
2. Select source cells and Copy.
3. In Indesign, select exact same (x, y, qty), range of destination cells and Paste. -
How to use Page to type fraction?
I don't know how to type fraction, can anyone help me? I need the verticle style, not 1/2.
Thanks in advance.prosciutto,
From Pages "Help":
"To set up automatic text substitution:
Choose Pages > Preferences.
Click Auto-Correction and make settings as desired.
To automatically convert single and double quotation marks to smart quotes so that opening and closing quotation marks are not identical, select “Use smart quotes.”
To make sure that the first word in a sentence begins with a capital letter, select “Fix capitalization.”
To automatically convert the letters in “1st,” “2nd,” “3rd,“ and so on into superscripts, select “Superscript numerical suffixes.”
To replace one or more characters with one or more different characters, select “Symbol and text substitution.” Then use the rows in the table to define and activate specific substitutions. For example, when you type (c), you can have Pages automatically convert it to © by putting a checkmark in the On column. To add a row to the table to define your own substitution, click the Add button. To remove a selected item, click the Delete (–) button."
As far as ghostscript, et al. is concerned, take a look here:
http://www.linux-foundation.org/en/OpenPrinting/MacOSX/hpijs -
Zoom 100%, Shape Tool Appears on Fraction of Pixel
This has been an issue for a while since the shape tool got a major refactoring and was hoping that this would have been fixed by now, but since it hasn't I want to make sure this issue is known and people are aware.
This used to be default behavior (before CC and CS6):
When you were zoomed out to 100% and used a vector tool (shape tool), you could draw anywhere and the edges would be aligned on pixels by default because if you are zoomed out to 100% you literally cannot click on a fraction of a pixel.
Since there is now the "snap vector tools and transforms to pixel grid" option, yes you can automatically snap to pixels, but you should still be able to have vector tools line up on the pixels when zoomed to 100% and have snap turned off. I do not understand why this change was made.
Article regarding CS4/CS5 in how to align shape tools perfectly: If you have Snap to Pixels turned off, drawing at 100% zoom achieves the same result.
Source: http://bjango.com/articles/roundrect/You need to file a bug report using https://bugreport.apple.com/ to make sure this is tracked by a specific bug report at Apple.
You will need to convert your Apple ID account into a developer account, but you can sign up for free as a Safari developer here: https://developer.apple.com/devcenter/safari/
Information that will be useful:
A list of all devices and iOS versions that this bug reproduces on.
A list of all devices and iOS versions that this bug does NOT reproduce on.
Attach a (reduced) stand-alone test case to the bug report.
Looking at the web page briefly in Web Inspector from Safari 7.0 on Mavericks (Safari 6.1 on Lion/Mountain Lion would also work), there is a <canvas> element that's position: absolute that is being used as a background for the page. Because this element is positon: absolute, it's put into a layer. And because it's behind all the other content on the page, it puts everything else into a layer as well. As seen on the Safari 6.1/7.0 Web Inspector when loaded in Safari 7.0 for Mavericks:
Layers use a lot of memory, which is why Safari on iOS 7 crashes due to lack of memory when zooming back out--layers must be recreated at each zoom level.
This is still a valid bug, but finding an alternate way to paint the background (using a repeating background image with CSS) would make the page use much less memory-intensive. You can verify that there are fewer layers on the page after changing (or removing) the canvas element, and Safari for iOS should stop crashing on zoom out. -
I have created a sheet that includes text on one of my columns. Column "A" has a heading of "Date" while column "B" is named "Description. I have also set the sheet so that when I type in a fraction (1 + / + 2) it automatically changes to a 1/2. After setting this up I noticed that my "Date" column does not stay in a date format so that if I type in 1/6/11 (January 6, 2011) the numbers automatically change to 1/6 11. I had to go to "Numbers"---"Preferences"---"Symbol and Text Substitution" and uncheck the box so that I could revert back to having my dates display properly.
Does Numbers allow to have one column display in fractions while not affecting the rest of the columns?
Thank you...I see what you mean. I never use symbol substitution but I turned it on to see your problem. I tried setting a cell to date & time but it had no effect on it. Looks like the designers didn't consider this possibility. You will need to type 1/06/11 to get the date. 1/ 6/11 also works.
-
Freeze 10.8 solution for console NSImage dissolveToPoint:fromRect:fraction:
hi, my MACBOOK PRO FREEZE every with this error in my console!!
20/06/13 10:38:23,134 WebProcess[4173]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
NSImage dissolveToPoint:fromRect:fraction:
in Internet nothing.,. solution?
thanks20/06/13 12:34:57,681 sandboxd[4532]: ([4531]) WebProcess(4531) deny iokit-open AppleGraphicsPolicyClient
20/06/13 12:37:06,541 WebProcess[4531]: objc[4531]: Object 0x7fb38bc1c910 of class NSUserDefaults autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
20/06/13 12:38:01,716 coreaudiod[166]: Disabled automatic stack shots because audio IO is active
20/06/13 12:38:10,446 coreaudiod[166]: Enabled automatic stack shots because audio IO is inactive
20/06/13 12:39:51,987 sandboxd[4539]: ([4538]) WebProcess(4538) deny iokit-open AppleGraphicsPolicyClient
20/06/13 12:39:51,000 kernel[0]: Sandbox: sandboxd(4539) deny mach-lookup com.apple.coresymbolicationd
20/06/13 12:41:47,320 WebProcess[4538]: objc[4538]: Object 0x7fd12b41c8f0 of class NSUserDefaults autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
20/06/13 12:43:49,836 coreaudiod[166]: Disabled automatic stack shots because audio IO is active
20/06/13 12:44:00,830 coreaudiod[166]: Enabled automatic stack shots because audio IO is inactive
20/06/13 12:44:39,289 coreaudiod[166]: Disabled automatic stack shots because audio IO is active
20/06/13 12:44:49,610 coreaudiod[166]: Enabled automatic stack shots because audio IO is inactive
20/06/13 12:45:50,142 Skype[4547]: Address book access is denied for executable at path: /Applications/Skype.app/Contents/MacOS/Skype
0 AddressBook 0x988af1ba __ABIsAccessGranted_block_invoke_0 + 39
1 libdispatch.dylib 0x92c73c82 _dispatch_client_callout + 46
2 libdispatch.dylib 0x92c73bf1 dispatch_once_f + 57
3 libdispatch.dylib 0x92c74831 dispatch_once + 31
4 AddressBook 0x988af102 ABIsAccessGranted + 50
5 AddressBook 0x988aeff6 +[ABAddressBook sharedAddressBook] + 35
6 Skype 0x000c0354 Skype + 783188
7 Skype 0x00039edc Skype + 233180
8 Foundation 0x96326e52 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49
9 CoreFoundation 0x91184851 ___CFXNotificationPost_block_invoke_0 + 257
10 CoreFoundation 0x910cfe8a _CFXNotificationPost + 2794
11 Foundation 0x9630f988 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
12 Foundation 0x9631f727 -[NSNotificationCenter postNotificationName:object:] + 55
13 Skype 0x015377f2 Skype + 22243314
14 Skype 0x015372a9 Skype + 22241961
15 Skype 0x0015a0e8 Skype + 1413352
16 CoreFoundation 0x911147bd __invoking___ + 29
17 CoreFoundation 0x911146f7 -[NSInvocation invoke] + 279
18 Skype 0x00158252 Skype + 1405522
19 CoreFoundation 0x9110f020 ___forwarding___ + 896
20 CoreFoundation 0x9110ec32 _CF_forwarding_prep_0 + 50
21 CoreFoundation 0x911147bd __invoking___ + 29
22 CoreFoundation 0x911146f7 -[NSInvocation invoke] + 279
23 WebCore 0x02b1183a _ZN3JSC8Bindings12ObjcInstance16invokeObjcMethodEPNS_9ExecStateEPNS0_10ObjcMeth odE + 1098
24 WebCore 0x02b113de _ZN3JSC8Bindings12ObjcInstance12invokeMethodEPNS_9ExecStateEPNS_13RuntimeMethod E + 174
25 WebCore 0x02b112e7 _ZN3JSCL17callRuntimeMethodEPNS_9ExecStateE + 215
26 JavaScriptCore 0x93ff3707 _ZN3JSC5LLInt9setUpCallEPNS_9ExecStateEPNS_11InstructionENS_22CodeSpecializatio nKindENS_7JSValueEPNS_17LLIntCallLinkInfoE + 167
27 JavaScriptCore 0x93ff21f1 llint_slow_path_call + 129
28 JavaScriptCore 0x93ff639f llint_op_call + 125
29 JavaScriptCore 0x93e01edc _ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKN S_8CallDataENS_7JSValueERKNS_7ArgListE + 972
30 JavaScriptCore 0x93e01b03 _ZN3JSC4callEPNS_9ExecStateENS_7JSValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7Ar gListE + 83
31 WebCore 0x031e0499 _ZN7WebCore21JSMainThreadExecState4callEPN3JSC9ExecStateENS1_7JSValueENS1_8Call TypeERKNS1_8CallDataES4_RKNS1_7ArgListE + 153
32 WebCore 0x02a88dd4 _ZN7WebCore15JSEventListener11handleEventEPNS_22ScriptExecutionContextEPNS_5Eve ntE + 1012
33 WebCore 0x02a88891 _ZN7WebCore11EventTarget18fireEventListenersEPNS_5EventEPNS_15EventTargetDataER N3***6VectorINS_23RegisteredEventListenerELm1EEE + 177
34 WebCore 0x02a0c3d6 _ZN7WebCore11EventTarget18fireEventListenersEPNS_5EventE + 70
35 WebCore 0x02a0c449 _ZN7WebCore4Node17handleLocalEventsEPNS_5EventE + 73
36 WebCore 0x02a0bc72 _ZN7WebCore15EventDispatcher13dispatchEventEN3***10PassRefPtrINS_5EventEEE + 866
37 WebCore 0x02a0b8d9 _ZNK7WebCore21EventDispatchMediator13dispatchEventEPNS_15EventDispatcherE + 41
38 WebCore 0x0308d37b _ZN7WebCore15EventDispatcher13dispatchEventEPNS_4NodeEN3***10PassRefPtrINS_21Ev entDispatchMediatorEEE + 139
39 WebCore 0x02a0b83a _ZN7WebCore4Node13dispatchEventEN3***10PassRefPtrINS_5EventEEE + 58
40 WebCore 0x02a2d78c _ZN7WebCore8Document15finishedParsingEv + 236
41 WebCore 0x02a2d68d _ZN7WebCore15HTMLTreeBuilder8finishedEv + 29
42 WebCore 0x02a0fb6c _ZN7WebCore18HTMLDocumentParser20prepareToStopParsingEv + 172
43 WebCore 0x02aa94d6 _ZN7WebCore18HTMLDocumentParser14notifyFinishedEPNS_14CachedResourceE + 118
44 WebCore 0x030f4f8b _ZThn28_N7WebCore18HTMLDocumentParser14notifyFinishedEPNS_14CachedResourceE + 27
45 WebCore 0x02aa940c _ZN7WebCore14CachedResource11checkNotifyEv + 60
46 WebCore 0x02aa6c89 _ZN7WebCore17SubresourceLoader16didFinishLoadingEd + 137
47 WebCore 0x02a6d1bc _ZN7WebCore14ResourceLoader16didFinishLoadingEPNS_14ResourceHandleEd + 28
48 WebCore 0x02a6d197 -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:] + 71
49 Foundation 0x962e4347 -[NSURLConnectionDelegateProxy connectionDidFinishLoading:] + 49
50 Foundation 0x962e19e9 ___NSURLConnectionDidFinishLoading_block_invoke_0 + 40
51 Foundation 0x962e15ec __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 40
52 Foundation 0x962e156e -[NSURLConnectionInternalConnection invokeForDelegate:] + 33
53 Foundation 0x962e1527 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 225
54 Foundation 0x962e1425 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 76
55 Foundation 0x962e19b7 _NSURLConnectionDidFinishLoading + 43
56 CFNetwork 0x96163338 ___delegate_didFinishLoading_block_invoke_0 + 40
57 CFNetwork 0x961556ff ___withDelegateAsync_block_invoke_0 + 99
58 CFNetwork 0x961f0b63 __block_global_1 + 25
59 CoreFoundation 0x910b9ef0 CFArrayApplyFunction + 192
60 CFNetwork 0x9614619d _ZN19RunloopBlockContext7performEv + 133
61 CFNetwork 0x961f0f33 _ZThn16_N19RunloopBlockContext24multiplexerClientPerformEv + 20
62 CFNetwork 0x9614606b _ZN17MultiplexerSource7performEv + 255
63 CoreFoundation 0x9109904f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
64 CoreFoundation 0x91098a79 __CFRunLoopDoSources0 + 233
65 CoreFoundation 0x910be826 __CFRunLoopRun + 934
66 CoreFoundation 0x910be01a CFRunLoopRunSpecific + 378
67 CoreFoundation 0x910bde8b CFRunLoopRunInMode + 123
68 HIToolbox 0x9537af5a RunCurrentEventLoopInMode + 242
69 HIToolbox 0x9537acc9 ReceiveNextEventCommon + 374
70 HIToolbox 0x9537ab44 BlockUntilNextEventMatchingListInMode + 88
71 AppKit 0x9338b93a _DPSNextEvent + 724
72 AppKit 0x9338b16c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
73 AppKit 0x933815cc -[NSApplication run] + 855
74 AppKit 0x933245f6 NSApplicationMain + 1053
75 Skype 0x00011691 Skype + 67217
76 Skype 0x00003535 Skype + 9525
77 ??? 0x00000002 0x0 + 2
20/06/13 12:45:50,145 Skype[4547]: Application is not entitled to access AddressBook contacts -
System automatically truncating the data
hi Friends,
i am using jdeveloper 11.1.1.6.0.
i have created field called price it's length is Number(22,12) . whenever user is giving more than 22 digits system is truncating the 22 digit to fractional number.
ex:user input: 1234567980123456789012
system showing: 1.234567980123 .
is there any solution for the above problem.Hi Johon,
1. Change in your vo query to fetch the price column once more time like price1
2. Change the type from number to string
I think my adf concept are good.
The idea behind this approach is that he has already tried your intelligent suggestion but not working.
I have already faced this problem and solved the same using the technique I shared over this forum.
Please read this to know why system automatically truncating the data
3.1 n-bit Unsigned Integers section
n Minimum Maximum
8 0 (2^8)-1 (=255)
16 0 (2^16)-1 (=65,535)
32 0 (2^32)-1 (=4,294,967,295) (9+ digits)
64 0 (2^64)-1 (=18,446,744,073,709,551,615) (19+ digits)
and your trying to save 22 digits.How it is possible?
Got it?
http://www.ntu.edu.sg/home/ehchua/programming/java/DataRepresentation.html
Edited by: 812903 on Mar 21, 2013 11:32 PM
Edited by: 812903 on Mar 21, 2013 11:43 PM -
Guys,
I have a doubt regarding EJBGen and Workshop/WebLogic Server.
I would like to generate automatically some EJBs.
I have a DataSource working that points to a DataBase SQL Server. There are some Tables there that I would like to produce some EJBs.
How can I do that?
Is it possible to do by Eclipse Workshop? Or is it possible to do with a script? Maybe and ant script using ejbgen?
How to do it?
Thanks,Hi Daniel,
Unfortunately this is Not Possible in WebLogic/Workshop... to genarate the EJB2.x Style Entitybeans from an Existing DataBase. But it is Possible in EJB3...But for that u need to a Persistence API and tools like (KODO/TopLink/Hibernate)..Then we have an Option from Workshop to Create a Persistence Unit mapped to the database.
But There is a Feature available in Sun Application Server along with "NetBeans" Utility to Generate CMP2.x Style of Bean from from an existing database in fraction of Seconds. U can Generate The Entity Beans from NetBeans and then With a Small modifications in the Deployment Descriptors you can Deploy those entities in WebLogic.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Maybe you are looking for
-
OTLR Rules to Split OT into 2 Different Elements based on Regular Time Element Chose
Hi, We have a scenario where employees punch their time on either Time Worked - Onsite or Time Worked -Offshore. When the employee punches Time Worked - Onsite > 40 hours, the OT should go into OT-Onsite element and if the employee punches Time Worke
-
Forms not showing full screen in Internet Explorer 10g ver 10.1.2
Dear Friends, Hi to all, I install Database Server 10g R2 Ver 10.2.0 on Win XP and running fine. I installed Develeper Suite 10g ver 10.1.2 on client now the senerio is that when i compile and run my form it runs in Internet Exploper but it show the
-
Building CrossBridgeSDK from source on Windows
I would like to build CrossBridge SDK from source on Windows platform - but the first error I recieve: make[1]: Entering directory '/cygdrive/f/crossbridge' mkdir -p /cygdrive/f/crossbridge/build/extra mkdir -p /cygdrive/f/crossbridge/build/win/abcli
-
[solved] gnome-shell bad looking after update
Hi, After update (about two weeks ago) my gnome looks bad. You can see this in screenshots. Very large icons and strange rectangles in gnome shell menu on started applications. Can you help? Last edited by skoczo (2015-05-01 17:27:23)
-
Hello Friends I am trying this concept of Job Scheduler API of Netweaver for the first time . The problem that I am encountering is , after successfull deployment of my application DC , I cant see the job created by me in the job definations on serve